diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-17 19:16:10 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-17 19:16:10 +0100 |
commit | 43c7686b4d6afc56d2909c1630ea2eee626490bb (patch) | |
tree | 8f7878c63c45c757cf8b6f7ac7fac0783da6bf31 /toolchain/gcc/Makefile | |
parent | 41f5fc3d3eb0b17faeed0de4ddc736c94054db80 (diff) |
allow to build static gdb/strace with static/shared mixed toolchain
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 095e6649a..929cf8a79 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -21,6 +21,9 @@ TARGET_CFLAGS:= $(filter-out -msep-data,$(TARGET_CFLAGS)) TARGET_CXXFLAGS:= $(filter-out -msep-data,$(TARGET_CXXFLAGS)) endif +TARGET_CFLAGS:= $(filter-out -static,$(TARGET_CFLAGS)) +TARGET_CXXFLAGS:= $(filter-out -static,$(TARGET_CXXFLAGS)) + GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \ --with-bugurl="http://www.openadk.org/" \ --build=$(GNU_HOST_NAME) \ |