diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-05-10 06:48:17 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-05-10 06:48:17 +0000 |
commit | 1ebd3ac2252d05a85495dbed4d2131b9dcc068e9 (patch) | |
tree | ff4d9c3b0635402e0df6ae75b4ce66364dfc7171 /Build/source/libs/freetype2/freetype-src/builds/unix/unix-cc.in | |
parent | 3fa60b71f26b9166920881009ec8a0dffbda13c3 (diff) |
freetype2 2.10.2
git-svn-id: svn://tug.org/texlive/trunk@55087 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/builds/unix/unix-cc.in')
-rw-r--r-- | Build/source/libs/freetype2/freetype-src/builds/unix/unix-cc.in | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/builds/unix/unix-cc.in b/Build/source/libs/freetype2/freetype-src/builds/unix/unix-cc.in index ed51fde3480..30d097b23af 100644 --- a/Build/source/libs/freetype2/freetype-src/builds/unix/unix-cc.in +++ b/Build/source/libs/freetype2/freetype-src/builds/unix/unix-cc.in @@ -2,7 +2,7 @@ # FreeType 2 template for Unix-specific compiler definitions # -# Copyright (C) 1996-2019 by +# Copyright (C) 1996-2020 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, @@ -76,10 +76,13 @@ T := -o$(space) # Use the ANSIFLAGS variable to define the compiler flags used to enfore # ANSI compliance. # -# We use our own FreeType configuration file. +# We use our own FreeType configuration files overriding defaults. # CPPFLAGS := @CPPFLAGS@ -CFLAGS := -c @XX_CFLAGS@ @CFLAGS@ -DFT_CONFIG_CONFIG_H="<ftconfig.h>" +CFLAGS := -c @XX_CFLAGS@ @CFLAGS@ \ + $DFT_CONFIG_CONFIG_H="<ftconfig.h>" \ + $DFT_CONFIG_MODULES_H="<ftmodule.h>" \ + $DFT_CONFIG_OPTIONS_H="<ftoption.h>" # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant. # @@ -87,8 +90,12 @@ ANSIFLAGS := @XX_ANSIFLAGS@ # C compiler to use -- we use libtool! # -CCraw := $(CC) -CC := $(LIBTOOL) --mode=compile $(CCraw) +# CC might be set on the command line; we store this value in `CCraw'. +# Consequently, we use the `override' directive to ensure that the +# libtool call is always prepended. +# +CCraw := $(CC) +override CC := $(LIBTOOL) --mode=compile $(CCraw) # Resource compiler to use on Cygwin/MinGW, usually windres. # |