Browse Source

Stop forcing -march=i486

Bryan Drewery 10 years ago
parent
commit
819718bf31
3 changed files with 1 additions and 26 deletions
  1. 0 13
      build/autotools/includes/acinclude.m4
  2. 0 13
      configure
  3. 1 0
      doc/UPDATES.md

+ 0 - 13
build/autotools/includes/acinclude.m4

@@ -422,7 +422,6 @@ AC_CACHE_CHECK(system machine, egg_cv_var_system_machine, egg_cv_var_system_mach
 
 BUILDOS="$egg_cv_var_system_type"
 BUILDARCH="$egg_cv_var_system_machine"
-USE_GENERIC_I486="yes"
 
 case "$egg_cv_var_system_type" in
   BSD/OS)
@@ -471,7 +470,6 @@ case "$egg_cv_var_system_type" in
   ;;
   Darwin)
     USE_STATIC="no"
-    USE_GENERIC_I486="no"
   ;;
   *BSD)
     # FreeBSD/OpenBSD/NetBSD
@@ -496,17 +494,6 @@ case "$egg_cv_var_system_type" in
   ;;
 esac
 
-case "$egg_cv_var_system_machine" in
-  i*)
-    if test "$USE_GENERIC_I486" = "yes"; then
-      CXX="$CXX -march=i486"
-      BUILDARCH="i486"
-    fi
-  ;;
-  *)
-  ;;
-esac
-
 AC_SUBST(BUILDOS)dnl
 AC_SUBST(BUILDARCH)dnl
 ])

+ 0 - 13
configure

@@ -4504,7 +4504,6 @@ $as_echo "$egg_cv_var_system_machine" >&6; }
 
 BUILDOS="$egg_cv_var_system_type"
 BUILDARCH="$egg_cv_var_system_machine"
-USE_GENERIC_I486="yes"
 
 case "$egg_cv_var_system_type" in
   BSD/OS)
@@ -4559,7 +4558,6 @@ $as_echo "#define BROKEN_SNPRINTF 1" >>build/confdefs.h
   ;;
   Darwin)
     USE_STATIC="no"
-    USE_GENERIC_I486="no"
   ;;
   *BSD)
     # FreeBSD/OpenBSD/NetBSD
@@ -4592,17 +4590,6 @@ $as_echo "Something unknown!" >&6; }
   ;;
 esac
 
-case "$egg_cv_var_system_machine" in
-  i*)
-    if test "$USE_GENERIC_I486" = "yes"; then
-      CXX="$CXX -march=i486"
-      BUILDARCH="i486"
-    fi
-  ;;
-  *)
-  ;;
-esac
-
 
 
 # Check for IPv6 support

+ 1 - 0
doc/UPDATES.md

@@ -28,6 +28,7 @@
   * Show more clear error on Centos 7 that static-libstdc++ is required,
     rather than an obscure Libcrypto error.
   * Restrict 'chanset groups' to owners.
+  * Stop building the binary as i486.  Let it use modern x86/x86_64.
 
 # 1.4.6
   * Disable demo TCL support by default to prevent confusion during build.