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
This commit is contained in:
Loufis 2016-07-11 05:12:22 -07:00
parent 26d8275c61
commit 47fb0e3d16
5 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
/lib /lib
/tmp /tmp
/out /out
.DS_Store*

View File

@ -15,7 +15,7 @@ endif
LDFLAGS.STATIC = LDFLAGS.STATIC =
LDFLAGS.DYNAMIC = LDFLAGS.DYNAMIC =
WARN = -Wall -W WARN = -Wall -W
POPT = -O2 POPT = -Os
CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -fPIC
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib

View File

@ -14,7 +14,7 @@ endif
LDFLAGS.STATIC = LDFLAGS.STATIC =
LDFLAGS.DYNAMIC = LDFLAGS.DYNAMIC =
WARN = -Wall -W WARN = -Wall -W
POPT = -O2 POPT = -Os
CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -fPIC
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib

View File

@ -17,7 +17,7 @@ LDFLAGS.GL = -framework OpenGL
endif endif
LDFLAGS.DYNAMIC = LDFLAGS.DYNAMIC =
WARN = -Wall -W WARN = -Wall -W
POPT = -O2 POPT = -Os
CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -fPIC
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib

View File

@ -14,7 +14,7 @@ endif
LDFLAGS.STATIC = LDFLAGS.STATIC =
LDFLAGS.DYNAMIC = LDFLAGS.DYNAMIC =
WARN = -Wall -W WARN = -Wall -W
POPT = -O2 POPT = -Os
CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -fPIC
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib