diff --git a/Make/makedefs b/Make/makedefs index 3e61159c9..e65b4a0fb 100644 --- a/Make/makedefs +++ b/Make/makedefs @@ -341,6 +341,9 @@ ifeq ($(OS),Linux) ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES") LDFLAGS += -Wl,-soname -Wl,$@.0 endif + + LDFLAGS += `getconf LFS_LDFLAGS` + DEF += `getconf LFS_CFLAGS` LIBS = -lstdc++ DEF += -W -Wall -fPIC -pipe