summaryrefslogtreecommitdiff
blob: c79e684151b2e2f39e1611544d38db663a6bd24c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- 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 ""