gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--luajit2/src/Makefile 4
-rw-r--r--makedefs 5
2 files changed, 4 insertions, 5 deletions
diff --git a/luajit2/src/Makefile b/luajit2/src/Makefile
index 9e9c4621..ed9819e1 100644
--- a/luajit2/src/Makefile
+++ b/luajit2/src/Makefile
@@ -34,7 +34,7 @@ CC= gcc
# to slow down the C part by not omitting it. Debugging, tracebacks and
# unwinding are not affected -- the assembler part has frame unwind
# information and GCC emits it where needed (x64) or with -g (see CCDEBUG).
-CCOPT= -O2 -fomit-frame-pointer
+CCOPT= -O2 -fomit-frame-pointer -ffast-math
# Use this if you want to generate a smaller binary (but it's slower):
#CCOPT= -Os -fomit-frame-pointer
# Note: it's no longer recommended to use -O3 with GCC 4.x.
@@ -48,7 +48,7 @@ CCOPT= -O2 -fomit-frame-pointer
# x86/x64 only: For GCC 4.2 or higher and if you don't intend to distribute
# the binaries to a different machine you could also use: -march=native
#
-CCOPT_x86= -march=i686 -msse -msse2
+CCOPT_x86= -march=i686
CCOPT_x64=
CCOPT_arm=
CCOPT_ppc=
diff --git a/makedefs b/makedefs
index 092f8425..f5380667 100644
--- a/makedefs
+++ b/makedefs
@@ -59,9 +59,8 @@ ifeq ($(strip $(DEBUG)), yes)
CFLAGS = -g -Wall
CXXFLAGS = -g -Wall
else
- # on windows do not use -fomit-frame-pointer
- CFLAGS = -O3 -fno-stack-protector -fomit-frame-pointer -ffast-math -Wall
- CXXFLAGS = -Os -fno-exceptions -fno-stack-protector -ffast-math -fno-rtti -Wall
+ CFLAGS = -O2 -fomit-frame-pointer -ffast-math -Wall
+ CXXFLAGS = -Os -fno-exceptions -ffast-math -fno-rtti -Wall
endif
PTHREAD_DEFS += -D_REENTRANT
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月25日 02:48:52 +0000

AltStyle によって変換されたページ (->オリジナル) /