23 lines
903 B
Plaintext
23 lines
903 B
Plaintext
$NetBSD: patch-ad,v 1.2 2012/12/24 21:11:17 joerg Exp $
|
|
|
|
--- src/qtMonitorProfiler/Makefile.orig 2005-08-20 01:11:31.000000000 +0000
|
|
+++ src/qtMonitorProfiler/Makefile
|
|
@@ -64,7 +64,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 -lqtlcmswidgets -llprof -llcms -lm
|
|
OBJECTS=main.o qtmonitorprofilerdialog.o qtmonitorprofilerdialogbase.o moc_qtmonitorprofilerdialog.o moc_qtmonitorprofilerdialogbase.o
|
|
|
|
@@ -73,7 +73,7 @@ all: $(PROGRAM)
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
|
@echo "Building monitor profiler ..."
|
|
- $(CC) $(LIBS) $(OBJECTS) -o $(PROGRAM) $(POSTLIB)
|
|
+ $(CC) $(LIBS) $(LDFLAGS) $(OBJECTS) -o $(PROGRAM) $(POSTLIB)
|
|
|
|
# general rules how to build files
|
|
%.h: %.ui
|