upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lrs / trunk / lrs-system-cflags.patch
blob9f31c91457058220f352df00d5de15aeabc17e90
1 --- lrslib-071/makefile.orig 2020-06-04 09:58:02.217703517 +0000
2 +++ lrslib-071/makefile 2020-06-04 09:59:20.505523290 +0000
3 @@ -32,8 +32,8 @@
4 #LIBDIR = /usr/lib
6 #Kyoto machines usage
7 -INCLUDEDIR = /usr/local/include
8 -LIBDIR = /usr/local/lib
9 +INCLUDEDIR = /usr/include
10 +LIBDIR = /usr/lib
12 CFLAGS ?= -O3 -Wall
13 #CFLAGS = -g -Wall
14 @@ -228,7 +228,7 @@
15 # Building (linking) the shared library, and relevant symlinks.
17 ${SHLIB}: ${SHLIBOBJ}
18 - $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp
19 + $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp ${LDFLAGS}
21 ${SONAME}: ${SHLIB}
22 ln -sf ${SHLIB} ${SONAME}
23 @@ -241,11 +240,11 @@
24 all-shared: ${SHLIBBIN}
26 lrs-shared: ${SHLINK} lrs-shared.o
27 - $(CC) $^ -o $@ -L . -llrs
28 + $(CC) $^ -o $@ -L . -llrs ${LDFLAGS}
31 lrsnash-shared: ${SHLINK} lrsnash.c
32 - $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp
33 + $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp ${LDFLAGS}
35 # driver object files