Explicitly specify compile rule for tracing policy

Otherwise we might get conflicts e.g. like -fPIC flag on Fiasco.OC platform.

Fixes #849
This commit is contained in:
Stefan Kalkowski 2013-08-20 14:48:07 +02:00 committed by Norman Feske
parent 35a96e1101
commit 5afb5fcc12
1 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# \date 2013-08-12
#
CXX_OPT = -g -ffreestanding -fPIC -fno-exceptions -fno-rtti -nostdinc -nostdlib
CXX_OPT = -g -ffreestanding -fno-exceptions -fno-rtti -nostdinc -nostdlib
LD_SCRIPT= $(PRG_DIR)/../policy.ld
@ -13,7 +13,11 @@ LD_SCRIPT= $(PRG_DIR)/../policy.ld
LIBS = platform
%.o : %.cc
table.o: table.cc
$(MSG_COMP)$@
$(VERBOSE)$(CXX) -c $(CC_MARCH) $(CXX_OPT) $(INCLUDES) $< -o $@
policy.o: policy.cc
$(MSG_COMP)$@
$(VERBOSE)$(CXX) -c $(CC_MARCH) $(CXX_OPT) $(INCLUDES) $< -o $@