[egoboo] Use shell function for efficiency
Bruno Wolff III
bruno at fedoraproject.org
Tue Mar 13 02:50:46 UTC 2012
commit cc8cd0b561ff66ed4d44e7e10a38130326a72bc2
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sun Mar 11 13:10:31 2012 -0500
Use shell function for efficiency
egoboo-opts.patch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/egoboo-opts.patch b/egoboo-opts.patch
index 9ea9772..e3f6ab7 100644
--- a/egoboo-opts.patch
+++ b/egoboo-opts.patch
@@ -6,8 +6,8 @@
CC := gcc
-INC := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
-LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
-+INC := `sdl-config --cflags` -I. -I./extensions -I./file_formats -I./platform
-+LDFLAGS := `sdl-config --libs` -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -lenet -lm
++INC := $(shell sdl-config --cflags) -I. -I./extensions -I./file_formats -I./platform
++LDFLAGS := $(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -lenet -lm
# use different options if the environmental variable PREFIX is defined
ifdef ($(PREFIX),"")
More information about the scm-commits
mailing list