source: scripts/untested/blfs-patches/x264-svn-20050731-configure_fixes.patch@ 8c8c5ab

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8c8c5ab was fd5b1fe, checked in by Jim Gifford <clfs@…>, 19 years ago

r588@server (orig r586): ryan | 2005-08-05 22:47:43 -0700
Add pile of new patches for blfs packages



  • Property mode set to 100644
File size: 1007 bytes
RevLine 
[fd5b1fe]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-07-31
3Initial Package Version: svn-20050731
4Upstream Status: Not Submitted
5Origin: Self Created
6Description: Add some vars to override defaults so we can build bi-arch
7
8--- x264-svn-20050731/configure 2005-07-31 21:44:21.000000000 +1000
9+++ x264-svn-20050731-mod/configure 2005-07-31 23:20:43.000000000 +1000
10@@ -32,7 +32,7 @@
11 vfw="no"
12 vis="no"
13
14-CC="gcc"
15+CC="${CC-gcc}"
16 CFLAGS="-Wall -I. -O4 -ffast-math -D__X264__"
17 LDFLAGS=""
18 HAVE_GETOPT_LONG=1
19@@ -91,6 +91,9 @@
20 esac
21
22 UNAMEM="`uname -m`"
23+# Override UNAMEM if ARCH is passed on the environment
24+UNAMEM="${TGT_ARCH-${UNAMEM}}"
25+
26 case "$UNAMEM" in
27 i386|i486|i586|i686|BePC)
28 ARCH="X86"
29@@ -191,7 +194,7 @@
30 vfw="yes"
31 ;;
32 --enable-visualize)
33- LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
34+ LDFLAGS="$LDFLAGS -L${XLIBS-/usr/X11R6/lib} -lX11"
35 CFLAGS="$CFLAGS -DVISUALIZE=1"
36 vis="yes"
37 ;;
Note: See TracBrowser for help on using the repository browser.