From 47fb0e3d163eecf6911dc08858941832252b55e7 Mon Sep 17 00:00:00 2001 From: Loufis Date: Mon, 11 Jul 2016 05:12:22 -0700 Subject: [PATCH] Fixed a bug on macs - Fixed an issue that made compiling glew hang on macs - Currently using Apple LLVM version 7.0.2 (clang-700.1.81) - Added .DS_Store files to gitignore --- .gitignore | 1 + config/Makefile.darwin | 2 +- config/Makefile.darwin-ppc | 2 +- config/Makefile.darwin-universal | 2 +- config/Makefile.darwin-x86_64 | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6270eeb..0b496ad 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /lib /tmp /out +.DS_Store* diff --git a/config/Makefile.darwin b/config/Makefile.darwin index 7a2d01e..031356d 100644 --- a/config/Makefile.darwin +++ b/config/Makefile.darwin @@ -15,7 +15,7 @@ endif LDFLAGS.STATIC = LDFLAGS.DYNAMIC = WARN = -Wall -W -POPT = -O2 +POPT = -Os CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib diff --git a/config/Makefile.darwin-ppc b/config/Makefile.darwin-ppc index 6ffbfab..a221ede 100644 --- a/config/Makefile.darwin-ppc +++ b/config/Makefile.darwin-ppc @@ -14,7 +14,7 @@ endif LDFLAGS.STATIC = LDFLAGS.DYNAMIC = WARN = -Wall -W -POPT = -O2 +POPT = -Os CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib diff --git a/config/Makefile.darwin-universal b/config/Makefile.darwin-universal index 120bf92..c485b9f 100644 --- a/config/Makefile.darwin-universal +++ b/config/Makefile.darwin-universal @@ -17,7 +17,7 @@ LDFLAGS.GL = -framework OpenGL endif LDFLAGS.DYNAMIC = WARN = -Wall -W -POPT = -O2 +POPT = -Os CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib diff --git a/config/Makefile.darwin-x86_64 b/config/Makefile.darwin-x86_64 index 274036a..e5896a1 100644 --- a/config/Makefile.darwin-x86_64 +++ b/config/Makefile.darwin-x86_64 @@ -14,7 +14,7 @@ endif LDFLAGS.STATIC = LDFLAGS.DYNAMIC = WARN = -Wall -W -POPT = -O2 +POPT = -Os CFLAGS.EXTRA += -fPIC BIN.SUFFIX = LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib