pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/x264-devel/files Strip -pie from nasm/yasm ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/821b3763867f
branches: trunk
changeset: 367358:821b3763867f
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Aug 30 19:47:08 2017 +0000
description:
Strip -pie from nasm/yasm flags. Fixes PIE build.
diffstat:
multimedia/x264-devel/files/strip_fopt.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r d0efe498163d -r 821b3763867f multimedia/x264-devel/files/strip_fopt.sh
--- a/multimedia/x264-devel/files/strip_fopt.sh Wed Aug 30 18:36:56 2017 +0000
+++ b/multimedia/x264-devel/files/strip_fopt.sh Wed Aug 30 19:47:08 2017 +0000
@@ -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 @@
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