diff options
Diffstat (limited to 'source/dynconfig.mk')
-rw-r--r-- | source/dynconfig.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/dynconfig.mk b/source/dynconfig.mk index 456c65d5e77..2743bc2b296 100644 --- a/source/dynconfig.mk +++ b/source/dynconfig.mk @@ -12,7 +12,7 @@ PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \ -DMODULESDIR=\"$(MODULESDIR)\" -DJSDIR=\"$(JSDIR)\" \ -DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(WINBINDD_SOCKET_DIR)\" -./dynconfig.o: dynconfig.c Makefile +dynconfig.o: dynconfig.c Makefile @echo Compiling $< @$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) $(PATH_FLAGS) -c $< -o $@ @@ -30,6 +30,6 @@ DEVEL_PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" -DBINDIR=\"$(builddir)/bin\" \ -DSETUPDIR=\"$(srcdir)/setup\" \ -DWINBINDD_SOCKET_DIR=\"$(WINBINDD_SOCKET_DIR)\" -./dynconfig-devel.o: dynconfig.c Makefile +dynconfig-devel.o: dynconfig.c Makefile @echo Compiling $< - @$(CC) $(CFLAGS) $(PICFLAG) $(DEVEL_PATH_FLAGS) -c $< -o $@ + @$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) $(DEVEL_PATH_FLAGS) -c $< -o $@ |