Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/glew-2.1.0.local.patch

Lucio Andrés Illanes Albornoz f227e2
diff -Nru glew-2.1.0.orig/config/Makefile.midipix glew-2.1.0/config/Makefile.midipix
Lucio Andrés Illanes Albornoz f227e2
--- glew-2.1.0.orig/config/Makefile.midipix	1970-01-01 01:00:00.000000000 +0100
Lucio Andrés Illanes Albornoz f227e2
+++ glew-2.1.0/config/Makefile.midipix	2018-07-19 22:26:01.674783470 +0200
Lucio Andrés Illanes Albornoz f227e2
@@ -0,0 +1,17 @@
Lucio Andrés Illanes Albornoz f227e2
+NAME = $(GLEW_NAME)
Lucio Andrés Illanes Albornoz f227e2
+CC = gcc
Lucio Andrés Illanes Albornoz f227e2
+LD = gcc
Lucio Andrés Illanes Albornoz f227e2
+LDFLAGS.GL = -lGL -lX11
Lucio Andrés Illanes Albornoz f227e2
+NAME = GLEW
Lucio Andrés Illanes Albornoz f227e2
+WARN = -Wall -W
Lucio Andrés Illanes Albornoz f227e2
+POPT = -O2
Lucio Andrés Illanes Albornoz f227e2
+CFLAGS.EXTRA += -fPIC -I./include
Lucio Andrés Illanes Albornoz f227e2
+CFLAGS.EXTRA += -Wcast-qual
Lucio Andrés Illanes Albornoz f227e2
+CFLAGS.EXTRA += -ansi -pedantic
Lucio Andrés Illanes Albornoz f227e2
+CFLAGS.EXTRA += -fno-stack-protector
Lucio Andrés Illanes Albornoz f227e2
+BIN.SUFFIX =
Lucio Andrés Illanes Albornoz f227e2
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
Lucio Andrés Illanes Albornoz f227e2
+LIB.DEVLNK = lib$(NAME).so
Lucio Andrés Illanes Albornoz f227e2
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
Lucio Andrés Illanes Albornoz f227e2
+LIB.STATIC = lib$(NAME).a
Lucio Andrés Illanes Albornoz f227e2
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -Wl,--out-dsolib,lib/lib$(NAME).lib.a