]> git.sesse.net Git - vlc/commitdiff
* debian/rules: build x264 in PIC mode whenever possible
authorSam Hocevar <sam@videolan.org>
Sun, 25 Sep 2005 23:10:50 +0000 (23:10 +0000)
committerSam Hocevar <sam@videolan.org>
Sun, 25 Sep 2005 23:10:50 +0000 (23:10 +0000)
debian/rules

index 55fe3bce13064404551171358744e4ec2f73ed56..38640a3d2eeac41468a2dd501c7366765b220ee8 100755 (executable)
@@ -118,6 +118,7 @@ configure-stamp:
        test -d extras/x264
        cd extras/x264 \
         && ./configure $(confflags) --extra-cflags='$$(ECFLAGS)' \
+                                    --extra-asflags='$$(EASFLAGS)' \
         && $(MAKE)
 
        # Check that we have an faad2 tree in here (can be a symlink)
@@ -148,7 +149,7 @@ build-stamp: patch configure-stamp
        $(MAKE) vlc
 
        # Hackety hackety hack
-       cd extras/x264 && $(MAKE) clean && $(MAKE) ECFLAGS=-fPIC
+       cd extras/x264 && $(MAKE) clean && $(MAKE) ECFLAGS=-fPIC EASFLAGS=__PIC__
 
        # HACKETY HACKETY HACK
        cd extras/faad2/libfaad && $(MAKE) clean && $(MAKE) AM_CFLAGS=-fPIC