diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-23 09:47:39 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-23 09:47:39 +0200 |
commit | 068db3f8b13d5e6312a9eda39d2530c68f85bc45 (patch) | |
tree | a6dd68c17e84d2c2ce2465970591f2d434e0e67a /mk | |
parent | cfa750efbf262e94d7db8e76eb7b25463bf6a908 (diff) |
remove -fPIC, fixes compile of x86-eglibc toolchain
Diffstat (limited to 'mk')
-rw-r--r-- | mk/vars.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index e22a46beb..b86c0226d 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -99,7 +99,7 @@ TARGET_LD:= ${TARGET_COMPILER_PREFIX}ld TARGET_CPPFLAGS:= TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident -fhonour-copts $(ADK_TARGET_ABI_CFLAGS) -TARGET_CFLAGS_LIBC:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident -fhonour-copts $(TARGET_OPTIMIZATION) -fPIC +TARGET_CFLAGS_LIBC:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident -fhonour-copts $(TARGET_OPTIMIZATION) TARGET_CXXFLAGS:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident TARGET_LDFLAGS:= -L$(STAGING_TARGET_DIR)/lib -L$(STAGING_TARGET_DIR)/usr/lib \ -Wl,-O2 -Wl,-rpath -Wl,/usr/lib \ |