Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Maik Froechtenicht
glew
Commits
7f92f9ad
Commit
7f92f9ad
authored
Nov 13, 2016
by
Nigel Stewart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Mac OSX builds to use -std=c89 rather than -ansi
parent
013667e3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
1 deletion
+5
-1
config/Makefile.darwin
config/Makefile.darwin
+1
-1
config/Makefile.darwin-ppc
config/Makefile.darwin-ppc
+2
-0
config/Makefile.darwin-universal
config/Makefile.darwin-universal
+1
-0
config/Makefile.darwin-x86_64
config/Makefile.darwin-x86_64
+1
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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