summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--perf-cppflags1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 39569b6..33cd4f9 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ CC=gcc
CXX=g++
CFLAGS=-std=c99
INCLUDE=-Idescriptor -Isrc -Itests -I.
-CPPFLAGS=-O3 -Wall -Wextra -g $(INCLUDE) $(strip $(shell cat perf-cppflags))
+CPPFLAGS=-O3 -Wall -Wextra -g $(INCLUDE) $(strip $(shell test -f perf-cppflags && cat perf-cppflags))
LIBUPB=src/libupb.a
ALL=deps $(OBJ) $(LIBUPB) tests/test_table tests/tests tools/upbc
diff --git a/perf-cppflags b/perf-cppflags
deleted file mode 100644
index 35fc4b3..0000000
--- a/perf-cppflags
+++ /dev/null
@@ -1 +0,0 @@
--DNDEBUG -fomit-frame-pointer -msse3 -m32
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback