diff --git a/src/base/rules.mk b/src/base/rules.mk index 7e6473cbf..9d42f300b 100644 --- a/src/base/rules.mk +++ b/src/base/rules.mk @@ -124,13 +124,13 @@ BASE_SRC_S := $(BASE_)ftbase.c # Multiple objects build + extensions # $(OBJ_)ft%.$O: $(BASE_)ft%.c $(PUBLIC_H) $(BASE_H) - $(FT_CC) $T$@ $< + $(FT_COMPILE) $T$@ $< # Base layer - single object build # $(BASE_OBJ_S): $(PUBLIC_H) $(BASE_H) $(BASE_SRC_S) $(BASE_SRC) - $(FT_CC) $T$@ $(BASE_SRC_S) + $(FT_COMPILE) $T$@ $(BASE_SRC_S) # END diff --git a/src/sfnt/rules.mk b/src/sfnt/rules.mk index 3232cad39..ea0866887 100644 --- a/src/sfnt/rules.mk +++ b/src/sfnt/rules.mk @@ -99,7 +99,7 @@ SFNT_INCLUDE := $(SHARED) $(SFNT_DIR) # compilation flags for the driver # SFNT_CFLAGS := $(SFNT_INCLUDE:%=$I%) -SFNT_COMPILE := $(FT_CC) $(SFNT_CFLAGS) +SFNT_COMPILE := $(FT_COMPILE) $(SFNT_CFLAGS) # TrueType driver sources (i.e., C files) diff --git a/src/truetype/rules.mk b/src/truetype/rules.mk index 3d029efdc..01319132d 100644 --- a/src/truetype/rules.mk +++ b/src/truetype/rules.mk @@ -106,7 +106,7 @@ TT_INCLUDE := $(SFNT_INCLUDE) $(TT_DIR) $(TT_EXT_DIR) # compilation flags for the driver # TT_CFLAGS := $(TT_INCLUDE:%=$I%) -TT_COMPILE := $(FT_CC) $(TT_CFLAGS) +TT_COMPILE := $(FT_COMPILE) $(TT_CFLAGS) # TrueType driver sources (i.e., C files) diff --git a/src/type1/rules.mk b/src/type1/rules.mk index 3c50a4d8b..3b6355b37 100644 --- a/src/type1/rules.mk +++ b/src/type1/rules.mk @@ -91,7 +91,7 @@ T1_DIR_ := $(T1_DIR)$(SEP) # additional include flags used when compiling the driver # T1_INCLUDE := $(SHARED) $(T1_DIR) -T1_COMPILE := $(FT_CC) $(T1_INCLUDE:%=$I%) +T1_COMPILE := $(FT_COMPILE) $(T1_INCLUDE:%=$I%) # Type1 driver sources (i.e., C files) @@ -101,7 +101,7 @@ T1_DRV_SRC := $(T1_DIR_)t1objs.c \ $(T1_DIR_)t1parse.c \ $(T1_DIR_)t1tokens.c \ $(T1_DIR_)t1driver.c \ - $(T1_DIR_)t1encode.c \ + $(T1_DIR_)t1encode.c \ $(T1_DIR_)t1hinter.c \ $(T1_DIR_)t1gload.c