]> git.pld-linux.org Git - packages/bogl.git/blame - bogl-0.1.9-fpic.patch
- release 11 (by relup.sh)
[packages/bogl.git] / bogl-0.1.9-fpic.patch
CommitLineData
4b8c099c
PZ
1--- bogl/wlite/GNUmakefile.fpic 2002-12-10 22:33:29.000000000 -0500
2+++ bogl/wlite/GNUmakefile 2003-02-11 01:00:50.000000000 -0500
3@@ -38,6 +38,11 @@
4 CDFLAGS += -DNDEBUG
5 endif
6
7+architecture := $(shell uname -m)
8+ifneq (,$(filter x86_64 s390 s390x ppc sparc,$(architecture)))
9+override CFLAGS += -fPIC
10+endif
11+
12 ifeq "diet" "$(basename $(firstword $(CC)))"
13 FATCC = $(wordlist 2,$(words $(CC)),$(CC))
14 FATCFLAGS = $(CFLAGS) -std=gnu99
15--- bogl/Makefile.fpic 2003-02-11 01:01:04.000000000 -0500
16+++ bogl/Makefile 2003-02-11 01:01:22.000000000 -0500
17@@ -46,6 +46,10 @@
18 bogl-tcfb.c bogl-tcfb.h bogl-test.c bogl.c bogl.h boglP.h boml.c \
19 boml.h bowl-boxes.c bowl.c bowl.h pngtobogl.c
20
21+ifneq (,$(filter x86_64 s390 s390x ppc sparc,$(architecture)))
22+override CFLAGS += -fPIC
23+endif
24+
25 ifeq (,)
26 FBCFLAGS += -DBOGL_CFB_FB=1
27 LIBBOGLOBJECTS += bogl-cfb.o bogl-pcfb.o bogl-tcfb.o
This page took 0.051636 seconds and 4 git commands to generate.