diff options
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig index b6a1b4aeb1..3ee4ece1fd 100644 --- a/Makeconfig +++ b/Makeconfig @@ -633,8 +633,8 @@ libio-include = -I$(..)libio CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \ -include $(..)include/libc-symbols.h $(sysdep-CPPFLAGS) \ $(CPPFLAGS-$(suffix $@)) \ - $(foreach L,$(libof-$(basename $(@F))) $(libof-$<) $(libof-$(@F)),\ - $(CPPFLAGS-$L)) \ + $(foreach lib,$(libof-$(basename $(@F))) \ + $(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \ $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F))) override CFLAGS = -std=gnu99 \ $(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \ |