aboutsummaryrefslogtreecommitdiff
path: root/office/pdftk/pdftk-1.44-add_custom_optflags.patch
blob: 660073115f7e6240d2d8e3de973dde7945174feb (plain)
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 -Nurp pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1
--- pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1	2010-10-25 20:04:51.000000000 +0100
+++ pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1	2010-10-31 01:44:31.000000000 +0000
@@ -34,7 +34,7 @@ export CXX= $(TOOLPATH)g++
 export GCJ= $(TOOLPATH)gcj
 export GCJH= $(TOOLPATH)gcjh
 export GJAR= $(TOOLPATH)gjar
-export LIBGCJ= /usr/share/java/libgcj$(VERSUFF).jar
+export LIBGCJ= /usr/share/java
 export AR= ar
 export RM= rm
 export ARFLAGS= rs
@@ -71,9 +71,10 @@ export RMFLAGS= -vf
 # only effects libraries following option on the command line
 #
 #  
-export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
-export CXXFLAGS= -Wall -Wextra -Weffc++ -O2
-export GCJFLAGS= -Wall -fsource=1.3 -O2
+export OPT= -O2
+export CPPFLAGS= $(OPT) -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
+export CXXFLAGS= $(OPT) -Wall -Wextra -Weffc++
+export GCJFLAGS= $(OPT) -Wall -fsource=1.3
 export GCJHFLAGS= -force
 export LDLIBS= -lgcj