Description: Adjust build to print compiler flags.
 This allow the log checker to see if hardening is enable.d
Author: Petter Reinholdtsen <pere@debian.org>
Forwarded: no
Last-Update: 2024-11-23
---
--- ucspi-proxy-0.99.orig/Makefile
+++ ucspi-proxy-0.99/Makefile
@@ -25,6 +25,7 @@ compile: conf-cc conf-bgincs
 	  echo '#!/bin/sh'; \
 	  echo 'source=$$1; shift'; \
 	  echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
+	  echo echo `head -n 1 conf-cc` -I. "-I'$${bgincs}'" '-o $${base}.o -c $$source $${1+"$$@"}'; \
 	  echo exec `head -n 1 conf-cc` -I. "-I'$${bgincs}'" '-o $${base}.o -c $$source $${1+"$$@"}'; \
 	) >compile
 	chmod 755 compile
@@ -47,6 +48,7 @@ load: conf-ld conf-bglibs
 	( bglibs=`head -n 1 conf-bglibs`; \
 	  echo '#!/bin/sh';\
 	  echo 'main="$$1"; shift';\
+	  echo echo `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg; \
 	  echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg; \
 	) >load
 	chmod 755 load
