aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 39cd03b..808e6bb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,6 +41,8 @@ pkg_scripts_in = $(pkg_gscripts:=.in)
BUILT_SOURCES = macros-perarch make_macrosfiles.sh rpmgenplatform
+HOST_CPU32_MACRO = $(if $(CANONTARGETCPU32),%_host_cpu32 $(CANONTARGETCPU32),\#%_host_cpu32)
+
pkglibdir = @RPMVENDORDIR@
noinst_PROGRAMS = rpmeval
@@ -79,6 +81,7 @@ edit = sed \
-e 's,@RPMSYSCONFDIR\@,$(RPMSYSCONFDIR),g'\
-e 's,@RPMOS\@,$(RPMOS),g' \
-e 's,@CANONTARGETCPU\@,$(CANONTARGETCPU),g' \
+ -e 's,@HOST_CPU32_MACRO\@,$(HOST_CPU32_MACRO),g' \
-e 's,@RPMALLARCH\@,$(RPMALLARCH),g'
%: %.in Makefile