Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
third-party
glew
Commits
7f92f9ad
Commit
7f92f9ad
authored
Nov 13, 2016
by
Nigel Stewart
Browse files
Update Mac OSX builds to use -std=c89 rather than -ansi
parent
013667e3
Changes
4
Hide whitespace changes
Inline
Side-by-side
config/Makefile.darwin
View file @
7f92f9ad
...
...
@@ -3,7 +3,7 @@ NAME = $(GLEW_NAME)
CC
=
cc
LD
=
cc
CFLAGS.EXTRA
=
-dynamic
-fno-common
CFLAGS.EXTRA
+=
-
ansi
-pedantic
CFLAGS.EXTRA
+=
-
std
=
c89
-pedantic
#CFLAGS.EXTRA += -no-cpp-precomp
LDFLAGS.EXTRA
=
ifneq
(undefined, $(origin GLEW_APPLE_GLX))
...
...
config/Makefile.darwin-ppc
View file @
7f92f9ad
# Note: PPC is no longer actively maintained for GLEW, but this configuration
# is here for reference.
GLEW_DEST
=
/usr/local
NAME
=
$(GLEW_NAME)
CC
=
cc
...
...
config/Makefile.darwin-universal
View file @
7f92f9ad
...
...
@@ -6,6 +6,7 @@ AR =
LIBTOOL
=
libtool
-static
-o
STRIP
=
CFLAGS.EXTRA
=
-dynamic
-fno-common
CFLAGS.EXTRA
+=
-std
=
c89
-pedantic
#CFLAGS.EXTRA += -no-cpp-precomp
CFLAGS.EXTRA
+=
-arch
i386
-arch
x86_64
LDFLAGS.EXTRA
=
-arch
i386
-arch
x86_64
...
...
config/Makefile.darwin-x86_64
View file @
7f92f9ad
...
...
@@ -3,6 +3,7 @@ NAME = $(GLEW_NAME)
CC
=
cc
LD
=
cc
CFLAGS.EXTRA
=
-arch
x86_64
-dynamic
-fno-common
CFLAGS.EXTRA
+=
-std
=
c89
-pedantic
#CFLAGS.EXTRA += -no-cpp-precomp
LDFLAGS.EXTRA
=
-arch
x86_64
ifneq
(undefined, $(origin GLEW_APPLE_GLX))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment