]>
Commit | Line | Data |
---|---|---|
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 |