1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Fix build in 12 by respecting LDFLAGS

This commit is contained in:
Dmitry Marakasov 2019-01-06 09:12:21 +00:00
parent 069dfade65
commit ee8715f210
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489447

View File

@ -17,7 +17,7 @@
-LDFLAGS := $(shell sdl-config --libs) -lGL -lGLU -lopenal -lalut # -framework QuickTime
+CFLAGS += -Wall `${SDL_CONFIG} --cflags` -I$(SRCDIR) -I$(NET_SRCDIR) -include Source/Support.h
+CXXFLAGS += -Wall `${SDL_CONFIG} --cflags` -I$(SRCDIR) -I$(NET_SRCDIR) -include Source/Support.h
+LDFLAGS := `${SDL_CONFIG} --libs` -lGL -lGLU -lopenal -lalut # -framework QuickTime
+LDFLAGS += `${SDL_CONFIG} --libs` -lGL -lGLU -lopenal -lalut # -framework QuickTime
# Don't want ogg?
#CFLAGS += -DNOOGG