Commit 6c6693b1 authored by Sam Hocevar's avatar Sam Hocevar

* debian/rules: build x264 in PIC mode whenever possible

parent 268ff7ea
...@@ -118,6 +118,7 @@ configure-stamp: ...@@ -118,6 +118,7 @@ configure-stamp:
test -d extras/x264 test -d extras/x264
cd extras/x264 \ cd extras/x264 \
&& ./configure $(confflags) --extra-cflags='$$(ECFLAGS)' \ && ./configure $(confflags) --extra-cflags='$$(ECFLAGS)' \
--extra-asflags='$$(EASFLAGS)' \
&& $(MAKE) && $(MAKE)
# Check that we have an faad2 tree in here (can be a symlink) # Check that we have an faad2 tree in here (can be a symlink)
...@@ -148,7 +149,7 @@ build-stamp: patch configure-stamp ...@@ -148,7 +149,7 @@ build-stamp: patch configure-stamp
$(MAKE) vlc $(MAKE) vlc
# Hackety hackety hack # Hackety hackety hack
cd extras/x264 && $(MAKE) clean && $(MAKE) ECFLAGS=-fPIC cd extras/x264 && $(MAKE) clean && $(MAKE) ECFLAGS=-fPIC EASFLAGS=__PIC__
# HACKETY HACKETY HACK # HACKETY HACKETY HACK
cd extras/faad2/libfaad && $(MAKE) clean && $(MAKE) AM_CFLAGS=-fPIC cd extras/faad2/libfaad && $(MAKE) clean && $(MAKE) AM_CFLAGS=-fPIC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment