more random patches. who knows.
[patches.git] / palo-1.14-build.patch
1 --- palo/Makefile
2 +++ palo/Makefile
3 @@ -11,10 +11,11 @@
4
5 OS := $(shell uname -s)
6 CC=gcc
7 +
8 +CFLAGS ?= -g -O
9 +CFLAGS += -I../include -I../lib
10 ifeq ($(strip ${OS}),HP-UX)
11 -CFLAGS=-g -O -I../include -I../lib -I$(PA)/include
12 -else
13 -CFLAGS=-g -O -I../include -I../lib
14 +CFLAGS += -I$(PA)/include
15 endif
16
17 # LDFLAGS=-Wl,-Bstatic
18 --- ipl/Makefile
19 +++ ipl/Makefile
20 @@ -21,7 +21,8 @@
21 # Source sharing with palo
22 VPATH=../lib:.
23
24 -CFLAGS = -I. -I../lib -I../include -O2 -mdisable-fpregs -Wall
25 +CFLAGS ?= -O2
26 +CFLAGS += -I. -I../lib -I../include -mdisable-fpregs -Wall
27 LDFLAGS = -N --section-start .init=0x60000 -e '$$START$$'
28
29 all: iplelf