You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
825 B
26 lines
825 B
Index: src/Makefile |
|
--- src/Makefile.orig 2017-08-29 23:14:49.000000000 +0200 |
|
+++ src/Makefile 2019-02-23 11:03:26.568856000 +0100 |
|
@@ -6,13 +6,8 @@ |
|
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') |
|
|
|
# Compile flags for linux / osx |
|
-ifeq ($(uname_S),Linux) |
|
- SHOBJ_CFLAGS ?= -W -Wall -Wno-undefined-inline -fno-common -g -ggdb -std=c99 -O3 |
|
- SHOBJ_LDFLAGS ?= -shared |
|
-else |
|
- SHOBJ_CFLAGS ?= -W -Wall -Wno-undefined-inline -dynamic -fno-common -g -ggdb -std=c99 -O3 |
|
- SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup |
|
-endif |
|
+SHOBJ_CFLAGS ?= -Wno-incompatible-pointer-types -fno-common -std=c99 -O3 |
|
+SHOBJ_LDFLAGS ?= -shared |
|
|
|
.SUFFIXES: .c .so .xo .o |
|
|
|
@@ -29,4 +24,4 @@ |
|
$(LD) -o $@ cuckoofilter.xo $< $(SHOBJ_LDFLAGS) $(LIBS) -lc |
|
|
|
clean: |
|
- rm -rf *.xo *.so |
|
\ No newline at end of file |
|
+ rm -rf *.xo *.so
|
|
|