--- configure.in +++ configure.in @@ -280,11 +280,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 @@ -761,11 +757,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 --- misc/allegro-config.in +++ misc/allegro-config.in @@ -21,7 +21,6 @@ accepts_frameworks=no -allegro_ldflags="@LDFLAGS@" allegro_libs="@LIBS@" allegro_frameworks="@FRAMEWORKS@" allegro_cflags="" @@ -180,9 +179,9 @@ if test "$echo_libs" = "yes"; then libdirs=-L${exec_prefix}/lib 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 --- misc/deplib.sh +++ misc/deplib.sh @@ -70,7 +70,7 @@ done echo "$prev" echo "" -write_code alleg LIBALLEG -s +write_code alleg LIBALLEG echo "" echo ""