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.
20 lines
580 B
20 lines
580 B
|
7 years ago
|
Index: Makefile
|
||
|
|
--- Makefile.orig 2019-02-23 10:50:01.000000000 +0100
|
||
|
|
+++ Makefile 2019-02-23 10:52:02.053932000 +0100
|
||
|
|
@@ -2,13 +2,8 @@
|
||
|
|
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
||
|
|
|
||
|
|
# Compile flags for linux / osx
|
||
|
|
-ifeq ($(uname_S),Linux)
|
||
|
|
- SHOBJ_CFLAGS ?= -Wall -W -O3 -fno-common -g -ggdb -std=c99
|
||
|
|
- SHOBJ_LDFLAGS ?= -shared
|
||
|
|
-else
|
||
|
|
- SHOBJ_CFLAGS ?= -Wall -W -O3 -dynamic -fno-common -g -ggdb -std=c99
|
||
|
|
- SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup
|
||
|
|
-endif
|
||
|
|
+SHOBJ_CFLAGS ?= -O3 -fno-common -std=c99
|
||
|
|
+SHOBJ_LDFLAGS ?= -shared
|
||
|
|
|
||
|
|
.SUFFIXES: .c .so .xo .o
|
||
|
|
|