summaryrefslogtreecommitdiff
blob: eb4e7e469e91946bae4df8f6be69b25a3d279040 (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
27
28
29
30
31
32
33
34
35
Index: catdoc-0.94.2/configure.in
===================================================================
--- catdoc-0.94.2.orig/configure.in
+++ catdoc-0.94.2/configure.in
@@ -100,10 +100,6 @@ AC_C_CONST
 dnl Checks for library functions.
 AC_FUNC_SETVBUF_REVERSED
 
-if test "$GCC" = "yes"; then
-	CFLAGS="-g -O2 -Wall"
-fi
-
 AC_DEFINE_UNQUOTED([SOURCE_CHARSET],"$sourcecharset",[Character encoding used by default for 8-bit source files])
 AC_DEFINE_UNQUOTED([TARGET_CHARSET],"$targetcharset",[Output character encoding used by default, if impossible to determine encoding from locale])
 AC_DEFINE_UNQUOTED([SPEC_EXT],"$specsuffix",[Suffix for files with special symbols map (ones to be replaced regardless of availability in target encoding)])
Index: catdoc-0.94.2/src/Makefile.in
===================================================================
--- catdoc-0.94.2.orig/src/Makefile.in
+++ catdoc-0.94.2/src/Makefile.in
@@ -74,12 +74,12 @@ OBJPPT=catppt.o pptparse.o $(COMMONOBJ)
 #	$(CC) -c $(CFLAGS) $*
 all: @buildtargets@
 catdoc: $(OBJ)
-	$(CC)  -o catdoc  $(OBJ)
+	$(CC)  $(LDFLAGS) -o catdoc  $(OBJ)
 xls2csv: $(OBJXLS)
-	$(CC) -o xls2csv $(OBJXLS) -lm
+	$(CC) $(LDFLAGS) -o xls2csv $(OBJXLS) -lm
 
 catppt: $(OBJPPT)
-	$(CC) -o catppt $(OBJPPT) -lm
+	$(CC) $(LDFLAGS) -o catppt $(OBJPPT) -lm
 
 install: @installtargets@
 install-catdoc:catdoc xls2csv catppt