blob: f2fe32a7d54176e72f3f2070d0359079bec9fa1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- Makefile.orig 2016-08-01 17:37:31 UTC
+++ Makefile
@@ -14,10 +14,10 @@ java:
sbt test
objecthash_test: libobjecthash.so
- $(CC) -std=c99 -Wall -Werror -o objecthash_test objecthash_test.c -lobjecthash -L. -Wl,-rpath -Wl,.
+ $(CC) ${CFLAGS} -std=c99 -Wall -o objecthash_test objecthash_test.c -lobjecthash -L. -Wl,-rpath -Wl,.
libobjecthash.so: objecthash.c
- $(CC) -fPIC -shared -std=c99 -Wall -Werror -o libobjecthash.so objecthash.c -lcrypto `pkg-config --libs --cflags icu-uc json-c`
+ $(CC) ${CFLAGS} -fPIC -shared -std=c99 -Wall -o libobjecthash.so objecthash.c -lcrypto `pkg-config --libs --cflags icu-uc json-c`
get:
GOPATH=`pwd` go get golang.org/x/text/unicode/norm
|