diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /sci-mathematics/metamath/files | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'sci-mathematics/metamath/files')
-rw-r--r-- | sci-mathematics/metamath/files/metamath-configure.ac-dont_force_optimize.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-mathematics/metamath/files/metamath-configure.ac-dont_force_optimize.patch b/sci-mathematics/metamath/files/metamath-configure.ac-dont_force_optimize.patch new file mode 100644 index 000000000000..548b0042ecef --- /dev/null +++ b/sci-mathematics/metamath/files/metamath-configure.ac-dont_force_optimize.patch @@ -0,0 +1,16 @@ +index 263d3d8..68a8fea 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -45,11 +45,9 @@ int f() { + + # Try to optimize. + AC_MSG_CHECKING([[for optimization flags]]) +-new_CFLAGS="-O3 -funroll-loops -finline-functions -fomit-frame-pointer" ++new_CFLAGS="" + saved_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $new_CFLAGS" +-# Remove any existing "-O2", or it will override what we're doing. +-CFLAGS=$( printf "%s" "$CFLAGS" | sed -e 's/ -O2/ /' ) + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[ + #include <stdio.h> |