diff options
author | Werner Lemberg <wl@gnu.org> | 2015-01-12 11:26:30 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2015-01-12 11:26:30 +0100 |
commit | 36d03c9f583f4c4b2ad2870784e2fe50814820c9 (patch) | |
tree | bf6d3c79734b08ae66e00de3de19576b7f434b58 /src/psnames | |
parent | 2af74c9b87d4a35f019d54ad89c9ef1c2208f7bb (diff) | |
download | freetype2-36d03c9f583f4c4b2ad2870784e2fe50814820c9.tar.gz |
Fix Savannah bug #43976.
Assure that FreeType's internal include directories are found before
`CPPFLAGS' (which might be set by the user in the environment), and
`CPPFLAGS' before `CFLAGS'.
* builds/freetype.mk (FT_CFLAGS): Don't add `INCLUDE_FLAGS'.
(FT_COMPILE): Make this a special variable for compiling only the
files handled in `freetype.mk'.
(.c.$O): Removed, unused.
* src/*/rules.mk (*_COMPILE): Fix order of include directories.
Diffstat (limited to 'src/psnames')
-rw-r--r-- | src/psnames/rules.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/psnames/rules.mk b/src/psnames/rules.mk index f321de2d6..278f6596d 100644 --- a/src/psnames/rules.mk +++ b/src/psnames/rules.mk @@ -20,7 +20,10 @@ PSNAMES_DIR := $(SRC_DIR)/psnames # compilation flags for the driver # -PSNAMES_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(PSNAMES_DIR)) +PSNAMES_COMPILE := $(CC) $(ANSIFLAGS) \ + $I$(subst /,$(COMPILER_SEP),$(PSNAMES_DIR)) \ + $(INCLUDE_FLAGS) \ + $(FT_CFLAGS) # PSNames driver sources (i.e., C files) |