]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
prettier compiling in optimize mode
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 10 Sep 2009 14:16:19 +0000 (14:16 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 10 Sep 2009 14:16:19 +0000 (14:16 +0000)
git-svn-id: file:///svn/unbound/trunk@1827 be551aaa-1e26-0410-a405-d3ace91eadb9

Makefile.in

index 42cc851d283d0bfe8128c0b008657b882c218a9d..273e4dd7744abe642fe50e2562d967206784d3db 100644 (file)
@@ -5,8 +5,10 @@ debug_enabled=@debug_enabled@
 ifeq "$(QUIET)" ""
 ifeq ($(debug_enabled),yes)
   QUIET=yes
+  LIBTOOLQUIET=yes
 else
   QUIET=no
+  LIBTOOLQUIET=yes
 endif
 endif
 
@@ -62,7 +64,7 @@ RUNTIME_PATH=@RUNTIME_PATH@
 DEPFLAG=@DEPFLAG@
 DATE=$(shell date +%Y%m%d)
 LIBTOOL=$(libtool)
-ifeq "$(QUIET)" "yes"
+ifeq "$(LIBTOOLQUIET)" "yes"
   LIBTOOL+=--quiet
 endif
 BUILD=build/
@@ -176,7 +178,7 @@ $(BUILD)%.lo:    $(srcdir)/%.c
        @if test ! -z "$(ldnsdir)" -a ! -e $(ldnsdir)/include/ldns/ldns.h; \
                then (cd $(ldnsdir); $(MAKE) copy-headers); fi
        @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi
-       $Q$(COMPILE) -c $< -o $@
+       $Q$(COMPILE) -o $@ -c $<
 
 all:   $(COMMON_OBJ) unbound$(EXEEXT) unbound-checkconf$(EXEEXT) lib unbound-host$(EXEEXT) unbound-control$(EXEEXT) unbound-control-setup $(WINAPPS)