summaryrefslogtreecommitdiff
path: root/x2p/Makefile.SH
diff options
context:
space:
mode:
Diffstat (limited to 'x2p/Makefile.SH')
-rwxr-xr-xx2p/Makefile.SH4
1 files changed, 3 insertions, 1 deletions
diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH
index fe4fb1eb0a..68c63a7744 100755
--- a/x2p/Makefile.SH
+++ b/x2p/Makefile.SH
@@ -58,6 +58,8 @@ FIRSTMAKEFILE = $firstmakefile
TRNL = '$trnl'
+OPTIMIZE = $optimize
+
.SUFFIXES: .c \$(OBJ_EXT)
!GROK!THIS!
@@ -65,7 +67,7 @@ TRNL = '$trnl'
cat >>Makefile <<'!NO!SUBS!'
REALPERL = ../perl
-CCCMD = `sh $(shellflags) cflags $@`
+CCCMD = `sh $(shellflags) cflags "optimize='$(OPTIMIZE)'" $@`
public = a2p s2p find2perl