[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] [freetype2-demos] * Makefile (COMPILE): Use same order of flags
From: |
Jan Alexander Steffens (heftig) |
Subject: |
[PATCH] [freetype2-demos] * Makefile (COMPILE): Use same order of flags as freetype2 |
Date: |
Wed, 24 Jun 2020 18:21:59 +0200 |
This ensures the includedir for the built FreeType comes first, before
any flags for a system FreeType which was pulled in through pkg-config
for harfbuzz.
---
Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 8e4ca56..e6ad0af 100644
--- a/Makefile
+++ b/Makefile
@@ -130,10 +130,10 @@ else
$(TOP_DIR)/include \
$(SRC_DIR)
- COMPILE = $(CC) $(CPPFLAGS) \
- $(CFLAGS) \
- $(ANSIFLAGS) \
- $(INCLUDES:%=$I%)
+ COMPILE = $(CC) $(ANSIFLAGS) \
+ $(INCLUDES:%=$I%) \
+ $(CPPFLAGS) \
+ $(CFLAGS)
# Enable C99 for gcc to avoid warnings.
# Note that clang++ aborts with an error if we use `-std=C99',
--
2.27.0
- [PATCH] [freetype2-demos] * Makefile (COMPILE): Use same order of flags as freetype2,
Jan Alexander Steffens (heftig) <=