blob: edae3f5440f0d43ce158a7a7eb58e5d1a313088d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ac,v 1.2 2012/12/24 21:11:17 joerg Exp $
--- src/qtMeasurementTool/Makefile.orig 2005-08-20 01:11:46.000000000 +0000
+++ src/qtMeasurementTool/Makefile
@@ -63,7 +63,7 @@ endif
# some settings
INCLUDES = -I../liblprof -I../libqtlcmswidgets -I$(QT_INCDIR) -I. $(KDEINCLUDE)
LIBS = -L$(QT_LIBDIR) -L../liblprof -L../libqtlcmswidgets $(KDELIBDIR)
-CFLAGS = -O4 -Wall $(KDEFLAGS)
+CFLAGS += -Wall $(KDEFLAGS)
POSTLIB = $(KDEPOSTLIB) -lqt-mt -llcms -lm -lqtlcmswidgets -llprof -ltiff
OBJECTS=main.o qtmeasurementtooldialog.o qtmeasurementtooldialogbase.o moc_qtmeasurementtooldialog.o moc_qtmeasurementtooldialogbase.o qtiffio.o
@@ -73,7 +73,7 @@ all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
@echo "Building measurement tool program ..."
- $(CC) $(LIBS) $(OBJECTS) -o $(PROGRAM) $(POSTLIB)
+ $(CC) $(LIBS) $(LDFLAGS) $(OBJECTS) -o $(PROGRAM) $(POSTLIB)
# general rules how to build files
%.h: %.ui
|