aboutsummaryrefslogtreecommitdiff
path: root/daemon/Makefile
diff options
context:
space:
mode:
authorDrew Richardson <drew.richardson@arm.com>2012-07-31 12:00:00 -0700
committerDrew Richardson <drew.richardson@arm.com>2014-12-19 15:29:29 -0800
commit5f9955b9c65967a7a62f7860295d8ac187c9ec11 (patch)
treef5c3a2b6025bf9f3e436b8de9ae9f67131fe854d /daemon/Makefile
parent3abe11d177c6c93fab66d04fd42d11452a0c508e (diff)
gator: Version 5.115.11
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Diffstat (limited to 'daemon/Makefile')
-rw-r--r--daemon/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/Makefile b/daemon/Makefile
index aa1c005..b62a223 100644
--- a/daemon/Makefile
+++ b/daemon/Makefile
@@ -16,9 +16,10 @@ GCC=$(CROSS_COMPILE)gcc
# -Werror treats warnings as errors
# -std=c++0x is the planned new c++ standard
# -std=c++98 is the 1998 c++ standard
-# -march=armv5t is required to set the minimum architecture
# -mthumb-interwork is required for interworking to ARM or Thumb stdlibc
-CFLAGS=-O3 -Wall -Werror -march=armv5t -mthumb-interwork
+CFLAGS=-O3 -Wall -Werror -Wno-error=sequence-point -mthumb-interwork
+# -s strips the binary of debug info
+LDFLAGS=-s
TARGET=gatord
C_SRC = $(wildcard mxml/*.c)
CPP_SRC = $(wildcard *.cpp)
@@ -34,7 +35,7 @@ all: $(TARGET)
$(CPP) -c $(CFLAGS) -o $@ $<
$(TARGET): convert $(TGT_OBJS)
- $(CPP) -s -o $@ $(TGT_OBJS) -lc -lrt -lpthread
+ $(CPP) $(LDFLAGS) -o $@ $(TGT_OBJS) -lc -lrt -lpthread
rm events_xml.h configuration_xml.h
convert: