aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 8d0588f..bfcf93a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,6 +42,7 @@ tags
.DS_Store
*.swp
lib/x86_64
+lib/i386
tcc-doc.info
conftest*
tiny_libmaker
diff --git a/Makefile b/Makefile
index 10e1cd4..3b6acdd 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ CFLAGS+=-Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0
endif
endif
+ifneq ($(TARGETOS),Darwin)
ifeq ($(ARCH),i386)
CFLAGS+=-mpreferred-stack-boundary=2
ifeq ($(GCC_MAJOR),2)
@@ -23,6 +24,7 @@ else
CFLAGS+=-march=i386 -falign-functions=0
endif
endif
+endif
ifdef CONFIG_WIN64
CONFIG_WIN32=yes