Created
January 16, 2014 10:01
-
-
Save bmount/8452479 to your computer and use it in GitHub Desktop.
Build ccv on osx 10.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/lib/makefile | |
+++ b/lib/makefile | |
@@ -1,7 +1,7 @@ | |
include config.mk | |
#CC += -faddress-sanitizer -fno-omit-frame-pointer | |
-CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage | |
+CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage -I/usr/local/include -L/usr/local/lib | |
.PHONY: all clean | |
diff --git a/serve/makefile b/serve/makefile | |
index f7212c6..9e19587 100644 | |
--- a/serve/makefile | |
+++ b/serve/makefile | |
@@ -1,7 +1,8 @@ | |
include ../lib/config.mk | |
-#CC += -faddress-sanitizer -fno-omit-frame-pointer | |
-LDFLAGS := -L"../lib" -lccv -lev -ldispatch $(LDFLAGS) | |
-CFLAGS := -O3 -Wall -I"../lib" $(CFLAGS) | |
+#CC += -v -faddress-sanitizer -fno-omit-frame-pointer | |
+CC += -v | |
+LDFLAGS := -L"../lib" -lccv -lev -L/usr/lib/system -L/usr/local/lib $(LDFLAGS) | |
+CFLAGS := -O3 -Wall -I"../lib" -I/usr/local/include $(CFLAGS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment