--- configure +++ configure @@ -2880,7 +2880,6 @@ echo "$as_me:$LINENO: checking whether linker works with -s option" >&5 echo $ECHO_N "checking whether linker works with -s option... $ECHO_C" >&6 allegro_save_LDFLAGS=$LDFLAGS -LDFLAGS="-s $LDFLAGS" if test "${allegro_cv_prog_ld_s+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -4959,7 +4958,7 @@ 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)" + PROG_LDFLAGS="\$(LDFLAGS)" else PROG_LDFLAGS="\$(LDFLAGS)" fi @@ -11367,11 +11366,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 -funroll-loops -ffast-math $WFLAGS" ALLEGRO_SFLAGS="-x assembler-with-cpp" ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED" else --- 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 ""