diff options
Diffstat (limited to '')
-rw-r--r-- | src/Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/Makefile b/src/Makefile index 278324a1..4ea8c85e 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -42,13 +42,10 @@ CCOPT= -O2 -fomit-frame-pointer | |||
42 | # | 42 | # |
43 | # Target-specific compiler options: | 43 | # Target-specific compiler options: |
44 | # | 44 | # |
45 | # x86 only: it's recommended to compile at least for i686. Better yet, | ||
46 | # compile for an architecture that has SSE2, too (-msse -msse2). | ||
47 | # | ||
48 | # x86/x64 only: For GCC 4.2 or higher and if you don't intend to distribute | 45 | # x86/x64 only: For GCC 4.2 or higher and if you don't intend to distribute |
49 | # the binaries to a different machine you could also use: -march=native | 46 | # the binaries to a different machine you could also use: -march=native |
50 | # | 47 | # |
51 | CCOPT_x86= -march=i686 | 48 | CCOPT_x86= -march=i686 -msse -msse2 -mfpmath=sse |
52 | CCOPT_x64= | 49 | CCOPT_x64= |
53 | CCOPT_arm= | 50 | CCOPT_arm= |
54 | CCOPT_ppc= | 51 | CCOPT_ppc= |
@@ -394,11 +391,6 @@ DASM_AFLAGS+= -D VER=$(subst LJ_ARCH_VERSION_,,$(filter LJ_ARCH_VERSION_%,$(subs | |||
394 | ifeq (Windows,$(TARGET_SYS)) | 391 | ifeq (Windows,$(TARGET_SYS)) |
395 | DASM_AFLAGS+= -D WIN | 392 | DASM_AFLAGS+= -D WIN |
396 | endif | 393 | endif |
397 | ifeq (x86,$(TARGET_LJARCH)) | ||
398 | ifneq (,$(findstring __SSE2__ 1,$(TARGET_TESTARCH))) | ||
399 | DASM_AFLAGS+= -D SSE | ||
400 | endif | ||
401 | else | ||
402 | ifeq (x64,$(TARGET_LJARCH)) | 394 | ifeq (x64,$(TARGET_LJARCH)) |
403 | DASM_ARCH= x86 | 395 | DASM_ARCH= x86 |
404 | else | 396 | else |
@@ -423,7 +415,6 @@ ifeq (ppc,$(TARGET_LJARCH)) | |||
423 | endif | 415 | endif |
424 | endif | 416 | endif |
425 | endif | 417 | endif |
426 | endif | ||
427 | 418 | ||
428 | DASM_FLAGS= $(DASM_XFLAGS) $(DASM_AFLAGS) | 419 | DASM_FLAGS= $(DASM_XFLAGS) $(DASM_AFLAGS) |
429 | DASM_DASC= vm_$(DASM_ARCH).dasc | 420 | DASM_DASC= vm_$(DASM_ARCH).dasc |