blablabla -lm lld
This commit is contained in:
parent
7a0a5540f3
commit
faf5b8645d
@ -1,12 +1,15 @@
|
||||
$OpenBSD: patch-src_Makefile,v 1.3 2017/02/27 20:50:32 naddy Exp $
|
||||
--- src/Makefile.orig Tue Nov 1 15:27:37 2016
|
||||
+++ src/Makefile Mon Feb 27 21:48:46 2017
|
||||
@@ -15,8 +15,8 @@ INCS := -I/opt/local/include
|
||||
$OpenBSD: patch-src_Makefile,v 1.4 2017/11/05 19:29:43 espie Exp $
|
||||
Index: src/Makefile
|
||||
--- src/Makefile.orig
|
||||
+++ src/Makefile
|
||||
@@ -14,9 +14,9 @@ LIBS := $(shell sdl2-config --libs) -lSDL2_image -lSDL
|
||||
INCS := -I/opt/local/include
|
||||
CFLAGS += $(INCS) -Wall -std=gnu99 -D_GNU_SOURCE=1 -D_THREAD_SAFE -DOSX -O2
|
||||
else
|
||||
LIBS := $(shell pkg-config --libs sdl2 SDL2_image SDL2_mixer)
|
||||
-LIBS := $(shell pkg-config --libs sdl2 SDL2_image SDL2_mixer)
|
||||
-INCS := $(shell pkg-config --cflags sdl2 SDL2_image SDL2_mixer)
|
||||
-CFLAGS += $(INCS) -Wall -std=gnu99 -O2
|
||||
+LIBS := $(shell pkg-config --libs sdl2 SDL2_image SDL2_mixer) -lm
|
||||
+INCS := $(shell pkg-config --cflags sdl2 SDL2_image SDL2_mixer) -I${LOCALBASE}/include
|
||||
+CFLAGS += $(INCS) -Wall -std=gnu99
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user