liballegro4/allegro-4.2.2-flags1.patch

65 lines
2.3 KiB
Diff
Raw Permalink Normal View History

diff -Nru allegro-4.2.2/configure.in allegro-4.2.2-gil/configure.in
--- allegro-4.2.2/configure.in 2007-07-15 06:46:22.000000000 +0200
+++ allegro-4.2.2-gil/configure.in 2008-08-18 18:19:34.000000000 +0200
@@ -293,11 +293,7 @@
COMPILE_PROGRAM=COMPILE_NORMAL
COMPILE_CXX_PROGRAM=COMPILE_CXX_NORMAL
COMPILE_S_PROGRAM=COMPILE_S_NORMAL
- if test "X$allegro_cv_prog_ld_s" = "Xyes"; then
- PROG_LDFLAGS="-s \$(LDFLAGS)"
- else
- PROG_LDFLAGS="\$(LDFLAGS)"
- fi
+ PROG_LDFLAGS="\$(LDFLAGS)"
LIB_TO_LINK=alleg
PLUGIN_LIB=lib/unix/libaldat.a
allegro_build_normal_library=yes
@@ -834,11 +830,7 @@
ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
fi
ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
- if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
- else
- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
- fi
+ CFLAGS="$CFLAGS $WFLAGS"
ALLEGRO_SFLAGS="-x assembler-with-cpp"
ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
else
diff -Nru allegro-4.2.2/misc/allegro-config.in allegro-4.2.2-gil/misc/allegro-config.in
--- allegro-4.2.2/misc/allegro-config.in 2007-07-22 09:45:47.000000000 +0200
+++ allegro-4.2.2-gil/misc/allegro-config.in 2008-08-18 18:23:04.000000000 +0200
@@ -24,7 +24,6 @@
accepts_frameworks=no
-allegro_ldflags="@LDFLAGS@"
allegro_libs="@LIBS@"
allegro_frameworks="@FRAMEWORKS@"
allegro_cflags=""
@@ -183,9 +182,9 @@
if test "$echo_libs" = "yes"; then
libdirs=-L${lib_path}
if test "$static_libs" = "yes"; then
- echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
+ echo $libdirs -l${lib_type} $allegro_libs
else
- echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
+ echo $libdirs -l${lib_type}-${version} -l${lib_type}_unsharable
fi
fi
diff -Nru allegro-4.2.2/misc/deplib.sh allegro-4.2.2-gil/misc/deplib.sh
--- allegro-4.2.2/misc/deplib.sh 2003-05-17 14:58:09.000000000 +0200
+++ allegro-4.2.2-gil/misc/deplib.sh 2008-08-18 18:24:55.000000000 +0200
@@ -70,7 +70,7 @@
done
echo "$prev"
echo ""
-write_code alleg LIBALLEG -s
+write_code alleg LIBALLEG
echo ""
echo ""