X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=849530d6db34c3321d75cf1a741e9d87b7cdd541;hb=9b43f7de695e9515fe7c80925bcb15b469c833e6;hp=ad95581acbe4f7b5974d8fc27b28a36d031c7273;hpb=920bbe30e99ce841b96fbe8774421bf379e9bc62;p=build.git diff --git a/Makefile b/Makefile index ad95581a..849530d6 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,7 @@ PLANETLAB_RELEASE = 5.2 # Default values # # minimal compat with macos, just so this does not complain -HOSTARCH := $(shell uname -i 2> /dev/null || uname -m 2> /dev/null) +HOSTARCH := $(shell arch) DISTRO := $(shell ./getdistro.sh) RELEASE := $(shell ./getrelease.sh) DISTRONAME := $(shell ./getdistroname.sh) @@ -348,9 +348,7 @@ header.spec: echo "%global _source_filedigest_algorithm 1" >> $@ echo "%global _source_payload w9.gzdio" >> $@ echo "%global _binary_payload w9.gzdio" >> $@ -ifeq "$(DISTRONAME)""$(filter $(DISTRONAME),f25 f27 f29 f31 f33 f35 f37)" echo "%define debug_package %{nil}" >> $@ -endif ### make up spec file - extract module first define target_spec