r18282: dynconfig.o build rule needs cflags.pl too
authorAndrew Tridgell <tridge@samba.org>
Sat, 9 Sep 2006 02:35:38 +0000 (02:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:01 +0000 (14:18 -0500)
(This used to be commit a805d8d1033e3b7dd01adac73ec428bcbd66f976)

source4/dynconfig.mk

index a7b0ff6ecd74d219f5c2f7495a2be4ddfa65e1d3..456c65d5e772c795e720773e4ce5a2ce3461be9b 100644 (file)
@@ -14,7 +14,7 @@ PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \
 
 ./dynconfig.o: dynconfig.c Makefile
        @echo Compiling $<
-       @$(CC) $(CFLAGS) $(PICFLAG) $(PATH_FLAGS) -c $< -o $@
+       @$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) $(PATH_FLAGS) -c $< -o $@
 
 # dynconfig defines used for binaries in bin/, when configure ran in developer 
 # mode: