Cosmetic improvements.
[invirt/third/libt4.git] / Makefile.osx
index f69851c..74218df 100644 (file)
@@ -1,13 +1,15 @@
 PEDANTRY = -Weverything -pedantic-errors -Werror -Wno-c++98-compat \
-                  -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes \
-                  -Wmissing-declarations -Wno-weak-vtables -Wno-global-constructors \
-                  -Wno-exit-time-destructors
-#OPTFLAGS = -ftrapv -O4
-OPTFLAGS =
-CXXFLAGS = -ggdb -MMD -I. -std=c++11 -stdlib=libc++ $(PEDANTRY) $(OPTFLAGS)
-LDFLAGS = -stdlib=libc++ $(OPTFLAGS)
-CXX = clang++
-CC = clang++
+                  -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes \
+                  -Wmissing-declarations -Wno-weak-vtables -Wno-global-constructors \
+                  -Wno-exit-time-destructors -pedantic -Wall -Wextra -Weffc++
+OPTFLAGS = -O3 -fno-omit-frame-pointer #-fsanitize=address ,thread,undefined -fsanitize-memory-track-origins 
+STDLIB = -stdlib=libc++ 
+#STDLIB = 
+CXX = clang++-mp-3.4
+#CXX = g++-mp-4.8
+CXXFLAGS = -std=c++11 -ggdb3 -MMD -I. $(STDLIB) $(PEDANTRY) $(OPTFLAGS)
+LDFLAGS = -std=c++11 $(STDLIB) $(OPTFLAGS)
+CC := $(CXX)
 EXTRA_TARGETS = signatures
 
 socketfilterfw=/usr/libexec/ApplicationFirewall/socketfilterfw