pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/x264-devel/files



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 30 19:47:08 UTC 2017

Modified Files:
        pkgsrc/multimedia/x264-devel/files: strip_fopt.sh

Log Message:
Strip -pie from nasm/yasm flags. Fixes PIE build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/multimedia/x264-devel/files/strip_fopt.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/x264-devel/files/strip_fopt.sh
diff -u pkgsrc/multimedia/x264-devel/files/strip_fopt.sh:1.3 pkgsrc/multimedia/x264-devel/files/strip_fopt.sh:1.4
--- pkgsrc/multimedia/x264-devel/files/strip_fopt.sh:1.3        Wed Jan 19 12:45:12 2011
+++ pkgsrc/multimedia/x264-devel/files/strip_fopt.sh    Wed Aug 30 19:47:08 2017
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: strip_fopt.sh,v 1.3 2011/01/19 12:45:12 drochner Exp $
+# $NetBSD: strip_fopt.sh,v 1.4 2017/08/30 19:47:08 wiz Exp $
 #
 # libtool assumes that the compiler can handle the -fPIC flag and the
 # -fno-common. This isn't always true, for example yasm can't handle it.
@@ -8,7 +8,7 @@ command="$1"
 shift
 while [ $# -gt 0 ]; do
        case "$1" in
-       -fPIC|-fno-common)
+       -fPIC|-fno-common|-pie)
                ;;
        *)
                command="$command $1"



Home | Main Index | Thread Index | Old Index