freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype-demos][master] * Makefile: Append CPPFLAGS to CF


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] * Makefile: Append CPPFLAGS to CFLAGS so that they work in `graph`.
Date: Tue, 21 Jun 2022 17:05:24 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs

Commits:

  • 8d329489
    by Hugh McMaster at 2022-06-21T12:59:07-04:00
    * Makefile: Append CPPFLAGS to CFLAGS so that they work in `graph`.
    

1 changed file:

Changes:

  • Makefile
    ... ... @@ -125,6 +125,10 @@ else
    125 125
         SRC_DIR := $(TOP_DIR_2)/src
    
    126 126
       endif
    
    127 127
     
    
    128
    +  # Append any system-defined CPPFLAGS (e.g. hardening flags) to CFLAGS.
    
    129
    +  #
    
    130
    +  CFLAGS += $(CPPFLAGS)
    
    131
    +
    
    128 132
       ifeq ($(PLATFORM),unixdev)
    
    129 133
         # `FT_DEMO_CFLAGS` comes from FreeType's `configure` script (via
    
    130 134
         # `builds/unix/unix-cc.mk`), holding additional flags to compile the
    
    ... ... @@ -143,7 +147,6 @@ else
    143 147
     
    
    144 148
       COMPILE = $(CC) $(ANSIFLAGS) \
    
    145 149
                       $(INCLUDES:%=$I%) \
    
    146
    -                  $(CPPFLAGS) \
    
    147 150
                       $(CFLAGS) \
    
    148 151
                       $(FT_DEMO_CFLAGS)
    
    149 152
     
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]