reinstate patch chunk to remove -fPIC; pointed out by brad@

This commit is contained in:
sthen 2013-09-20 08:35:54 +00:00
parent 60bf6a9d20
commit dbfaea199a
2 changed files with 34 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2013/09/19 22:30:05 sthen Exp $
# $OpenBSD: Makefile,v 1.7 2013/09/20 08:35:54 sthen Exp $
COMMENT= Flash 4/5 movie output library
DISTNAME= ming-0.4.5
REVISION= 0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ming/}

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.3 2013/09/19 22:30:06 sthen Exp $
$OpenBSD: patch-configure_in,v 1.4 2013/09/20 08:35:54 sthen Exp $
--- configure.in.orig Sat Jun 8 15:08:51 2013
+++ configure.in Thu Sep 19 23:25:00 2013
+++ configure.in Fri Sep 20 09:35:20 2013
@@ -242,9 +242,6 @@ if test x"$LIBTOOL" = x; then
AC_MSG_ERROR([could not detect libtool, bailing out])
fi
@ -11,3 +11,33 @@ $OpenBSD: patch-configure_in,v 1.3 2013/09/19 22:30:06 sthen Exp $
AC_ARG_ENABLE(
[freetype],
[ --enable-freetype Enable freetype support (default: enabled)],
@@ -352,29 +349,6 @@ AM_CONDITIONAL(USE_PNG, test x${PNGLIB} != x)
if test -n "${PNGLIB}"; then
AC_DEFINE(USE_PNG, [1], [Use png library])
fi
-
-MACHINE=`uname -m`
-case "$MACHINE" in
-"x86_64")
- CFLAGS="$CFLAGS -Wall -fPIC"
- ;;
-"alpha")
- CFLAGS="$CFLAGS -Wall -fPIC"
- ;;
-"ia64")
- CFLAGS="$CFLAGS -Wall -fPIC"
- ;;
-"hppa")
- CFLAGS="$CFLAGS -Wall -fPIC"
- ;;
-"sun4u")
- CFLAGS="$CFLAGS -fPIC -features=extensions"
- ;;
-*)
- CFLAGS="$CFLAGS -Wall"
- ;;
-esac
-
dnl -------------------------------------------
dnl Byteorder check