From 0cf485707826e97f1455ec8c349f79df73ee0955 Mon Sep 17 00:00:00 2001 From: jdh8d <jdh8d@git.zephyr-software.com> Date: Wed, 2 May 2012 14:59:51 +0000 Subject: [PATCH] Removed -static flag Former-commit-id: 85ed4ebad4a015c326b5846920a8d6c7a9309d01 --- c++_examples/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/c++_examples/Makefile b/c++_examples/Makefile index 37ba77263..c4ebf3216 100644 --- a/c++_examples/Makefile +++ b/c++_examples/Makefile @@ -1,10 +1,5 @@ -CC=DO_NOT_USE -CXX=DO_NOT_USE -CFLAGS=DO_NOT_USE -LD=DO_NOT_USE - .SUFFIXES: .o .c .cpp .stock .protected exes=hanoi++.protected newdel.protected newdel_broke1.protected newdel_broke2.protected newdel_broke3.protected newdel_broke4.protected newdel_broke5.protected newdel_broke6.protected newdel_broke7.protected throw.protected newdelete1.protected newdelete2.protected newdelete3.protected newdelete4.protected newdelete5.protected newdelete6.protected @@ -18,16 +13,16 @@ all: env_check ${exes} .PHONY: env_check .stock.protected: - ${PEASOUP_HOME}/tools/ps_analyze.sh $< $@ + ${PEASOUP_HOME}/tools/ps_analyze.sh $< $@ --step concolic=off .o.stock: - g++ -static -Bstatic $< -o $@ + g++ $< -o $@ .c.o: - ${PEASOUP_HOME}/tools/ps_comp.sh $< + $(CC) -c $< .cpp.o: - ${PEASOUP_HOME}/tools/ps_comp++.sh $< + $(CXX) -c $< chopzero: @ if [ ! -f chopzero ]; then gcc chopzero.c -o chopzero -O3 ; fi -- GitLab