[vlc-commits] contrib: do not put -g in CPPFLAGS
Rafaël Carré
git at videolan.org
Thu Aug 30 14:40:57 CEST 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Aug 30 14:40:36 2012 +0200| [f19d35a1efbe3f0da445f30d594c11d129d5bc26] | committer: Rafaël Carré
contrib: do not put -g in CPPFLAGS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f19d35a1efbe3f0da445f30d594c11d129d5bc26
---
contrib/src/main.mak | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 2cb7e12..00166f9 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -163,11 +163,10 @@ endif
cppcheck = $(shell $(CC) $(CFLAGS) -E -dM - < /dev/null | grep -E $(1))
-EXTRA_CFLAGS += -g
EXTRA_CFLAGS += -I$(PREFIX)/include
CPPFLAGS := $(CPPFLAGS) $(EXTRA_CFLAGS)
-CFLAGS := $(CFLAGS) $(EXTRA_CFLAGS)
-CXXFLAGS := $(CXXFLAGS) $(EXTRA_CFLAGS)
+CFLAGS := $(CFLAGS) $(EXTRA_CFLAGS) -g
+CXXFLAGS := $(CXXFLAGS) $(EXTRA_CFLAGS) -g
EXTRA_LDFLAGS += -L$(PREFIX)/lib
LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
# Do not export those! Use HOSTVARS.
More information about the vlc-commits
mailing list