File: pic.patch

package info (click to toggle)
postgresql-pljava 1.3.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,744 kB
  • ctags: 3,519
  • sloc: java: 14,878; ansic: 10,262; makefile: 350; sql: 72; xml: 56
file content (26 lines) | stat: -rw-r--r-- 1,140 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -Nur pljava-1.3.b3/src/C/pljava/Makefile pljava-1.3.b3.new/src/C/pljava/Makefile
--- pljava-1.3.b3/src/C/pljava/Makefile	2006-05-29 00:04:05.000000000 +0200
+++ pljava-1.3.b3.new/src/C/pljava/Makefile	2006-06-01 15:30:15.000000000 +0200
@@ -26,6 +26,8 @@
 #
 include $(PGXS)
 
+CFLAGS_SL := $(subst -fpic, -fPIC, $(CFLAGS_SL))
+
 SS_VERSION := $(subst ., ,$(subst devel,.99,$(subst beta,.99,$(VERSION))))
 PGSQL_MAJOR_VER	= $(word 1,$(SS_VERSION))
 PGSQL_MINOR_VER	= $(word 2,$(SS_VERSION))
diff -Nur pljava-1.3.b3/src/java/pljava/Makefile pljava-1.3.b3.new/src/java/pljava/Makefile
--- pljava-1.3.b3/src/java/pljava/Makefile	2006-05-29 00:04:06.000000000 +0200
+++ pljava-1.3.b3.new/src/java/pljava/Makefile	2006-06-01 15:29:53.000000000 +0200
@@ -57,8 +57,8 @@
 
 $(OBJDIR)/$(NAME)_jar.o: .timestamp
 	@-mkdir -p $(@D)
-	@echo $(GCJ) -c -fpic -fjni -o $@ '<java sources>'
-	@$(GCJ) -c -fpic -fjni -o $@ $(SRCS)
+	@echo $(GCJ) -c -fPIC -fjni -o $@ '<java sources>'
+	@$(GCJ) -c -fPIC -fjni -o $@ $(SRCS)
 
 # gcjh fails to clear its function name cache between files (see
 # gcc bugzilla #17575) so we must do each file separately to