diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/vars.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index 1585833c6..672f03d9f 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -311,6 +311,12 @@ TARGET_CXXFLAGS+= -marm endif endif +ifeq ($(ADK_TARGET_BINFMT_FDPIC),y) +TARGET_CFLAGS+= -mfdpic +TARGET_CXXFLAGS+= -mfdpic +TARGET_LDFLAGS+= -mfdpic +endif + # host compiler and linker flags HOST_CPPFLAGS:= -I$(STAGING_HOST_DIR)/usr/include ifeq ($(OS_FOR_BUILD),Darwin) |