diff --git a/.gitignore b/.gitignore index 8d0588f7..bfcf93a1 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 10e1cd4c..3b6acdd8 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