From 43c7686b4d6afc56d2909c1630ea2eee626490bb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 17 Dec 2017 19:16:10 +0100 Subject: allow to build static gdb/strace with static/shared mixed toolchain --- toolchain/gcc/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toolchain/gcc/Makefile') 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) \ -- cgit v1.2.3