Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 axiom (20170501-3) unstable; urgency=medium
 .
   * build-dep latest gcl
Author: Camm Maguire <camm@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-02-22

--- axiom-20170501.orig/Makefile.pamphlet
+++ axiom-20170501/Makefile.pamphlet
@@ -505,8 +505,8 @@ TOUCH:=touch
 UNCOMPRESS:=gunzip
 
 ####K C Related variables
-PLF=${SYS}platform
-CCF="-O2 -fno-strength-reduce -D_GNU_SOURCE -D${PLF} \
+PLF=$(shell echo $(SYS) |tr /a-z/ /A-Z/)platform
+CCF="${CFLAGS} -O2 -fno-strength-reduce -D_GNU_SOURCE -D${PLF} \
      -I/usr/X11/include \
      -Wno-absolute-value -std=gnu89 -w" 
 INC:=${SPD}/src/include
