Sourceforge Bug 253 - CFLAGS for Solaris need PIC specified

This commit is contained in:
Nigel Stewart 2015-01-24 17:08:19 +10:00
parent e37f6728fe
commit c3e6ce6b61
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
NAME = $(GLEW_NAME)
CC = cc
LD = ld
CFLAGS.EXTRA = -I/usr/openwin/include
CFLAGS.EXTRA = -I/usr/openwin/include -Kpic
LDFLAGS.SO = -G
LDFLAGS.EXTRA = -L/usr/openwin/lib
LDFLAGS.GL = -lGL -lX11

View File

@ -1,7 +1,7 @@
NAME = $(GLEW_NAME)
CC = gcc
LD = ld
CFLAGS.EXTRA = -I/usr/openwin/include
CFLAGS.EXTRA = -I/usr/openwin/include -fPIC
LDFLAGS.SO = -G
LDFLAGS.EXTRA = -L/usr/openwin/lib
LDFLAGS.GL = -lGL -lX11