]> git.videolan.org Git - x264.git/commitdiff
Honor CFLAGS and LDFLAGS set by the user
authorChristophe Mutricy <xtophe@videolan.org>
Tue, 9 Jan 2007 20:25:32 +0000 (20:25 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Tue, 9 Jan 2007 20:25:32 +0000 (20:25 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@617 df754926-b1dd-0310-bc7b-ec298dee348c

configure

index 3d00d1bda0a566ce40be0901c491fece60788db8..c16a3293e752cc76d7535a5c00bfe73112aa3ff1 100755 (executable)
--- a/configure
+++ b/configure
@@ -55,8 +55,8 @@ vis="no"
 shared="no"
 
 CC="${CC-gcc}"
-CFLAGS="-Wall -I. -D__X264__"
-LDFLAGS=""
+CFLAGS="$CFLAGS -Wall -I. -D__X264__"
+LDFLAGS="$LDFLAGS"
 HAVE_GETOPT_LONG=1
 
 AS="nasm"