diff options
Diffstat (limited to 'reproduce/software/make')
| -rw-r--r-- | reproduce/software/make/basic.mk | 8 | ||||
| -rw-r--r-- | reproduce/software/make/high-level.mk | 8 | 
2 files changed, 11 insertions, 5 deletions
| diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk index 9217ee9..fb378b8 100644 --- a/reproduce/software/make/basic.mk +++ b/reproduce/software/make/basic.mk @@ -86,7 +86,8 @@ export SHELL := $(ibdir)/dash  export PATH := $(ibdir):$(PATH)  export PKG_CONFIG_PATH := $(ildir)/pkgconfig  export PKG_CONFIG_LIBDIR := $(ildir)/pkgconfig -export CPPFLAGS := -I$(idir)/include $(CPPFLAGS) +export CPPFLAGS := -I$(idir)/include $(CPPFLAGS) \ +                   -Wno-nullability-completeness  export LDFLAGS := $(rpath_command) -L$(ildir) $(LDFLAGS)  # This is the "basic" tools where we are relying on the host operating @@ -210,7 +211,10 @@ $(ibidir)/low-level-links: $(ibidir)/grep-$(grep-version) \          #   POSIX Threads library for multi-threaded programs.  	for l in dl pthread; do  	  if [ -f /usr/lib/lib$$l.a ]; then -	    ln -sf /usr/lib/lib$$l.* $(ildir)/ +	    for f in /usr/lib/lib$$l.*; do +	      ln -sf $$(realpath $$f) \ +	         $$(echo $$f | sed -e's|/usr/lib|$(ildir)|') +	    done  	  fi  	done diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk index d69722e..6ea782c 100644 --- a/reproduce/software/make/high-level.mk +++ b/reproduce/software/make/high-level.mk @@ -125,10 +125,10 @@ all: $(foreach p, $(targets-proglib), $(ibidir)/$(p)) \  export PATH := $(ibdir)  export CCACHE_DISABLE := 1  export SHELL := $(ibdir)/bash -export CPPFLAGS := -I$(idir)/include  .SHELLFLAGS := --noprofile --norc -ec  export LDFLAGS := $(rpath_command) -L$(ildir)  export PKG_CONFIG_LIBDIR := $(ildir)/pkgconfig +export CPPFLAGS := -I$(idir)/include -Wno-nullability-completeness  export PKG_CONFIG_PATH := $(ildir)/pkgconfig:$(idir)/share/pkgconfig  # Settings specific to this Makefile. @@ -428,7 +428,8 @@ $(ibidir)/cfitsio-$(cfitsio-version):  	export gbuild_tar=$(ddir)/$$customtar  	$(call gbuild, cfitsio-$(cfitsio-version), , \  	               --enable-sse2 --enable-reentrant \ -	               --with-bzip2=$(idir), , make shared fpack funpack) +	               --with-bzip2=$(idir), , \ +	               make shared fpack funpack)  	rm $$customtar  	echo "CFITSIO $(cfitsio-version)" > $@ @@ -1316,7 +1317,8 @@ $(ibidir)/swig-$(swig-version):          # pcr is a dependency of swig  	tarball=swig-$(swig-version).tar.gz  	$(call import-source, $(swig-url), $(swig-checksum)) -	$(call gbuild, swig-$(swig-version), static, --without-pcre) +	$(call gbuild, swig-$(swig-version), static, \ +	               --without-pcre --without-tcl)  	echo "Swig $(swig-version)" > $@  # The disables: | 
