Mercurial > mxe-octave
comparison src/gcc.mk @ 2920:a9fa640c348c
attempt to coerce gcc build system to install exe files without .exe suffix in DESTDIR
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 12 Dec 2012 12:34:19 -0500 |
parents | c90f5757f351 |
children | 4f9b72cf7ee7 |
comparison
equal
deleted
inserted
replaced
2919:98d9839754f6 | 2920:a9fa640c348c |
---|---|
52 --with-mpfr-include='$(1)/mpfr/src' \ | 52 --with-mpfr-include='$(1)/mpfr/src' \ |
53 --with-mpfr-lib='$(1).build/mpfr/src/.libs' \ | 53 --with-mpfr-lib='$(1).build/mpfr/src/.libs' \ |
54 $(shell [ `uname -s` == Darwin ] && echo "LDFLAGS='-Wl,-no_pie'") | 54 $(shell [ `uname -s` == Darwin ] && echo "LDFLAGS='-Wl,-no_pie'") |
55 $(MAKE) -C '$(1).build' -j '$(JOBS)' | 55 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
56 $(MAKE) -C '$(1).build' -j 1 install | 56 $(MAKE) -C '$(1).build' -j 1 install |
57 mkdir -p $(PREFIX)/../cross-tools/$(PREFIX)/$(TARGET)/bin | |
57 $(MAKE) -C '$(1).build' -j 1 DESTDIR=$(PREFIX)/../cross-tools install | 58 $(MAKE) -C '$(1).build' -j 1 DESTDIR=$(PREFIX)/../cross-tools install |
58 | 59 |
59 # create pkg-config script | 60 # create pkg-config script |
60 (echo '#!/bin/sh'; \ | 61 (echo '#!/bin/sh'; \ |
61 echo 'PKG_CONFIG_PATH="$$PKG_CONFIG_PATH_$(subst -,_,$(TARGET))" PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config $($(PKG)_STATIC_FLAG) "$$@"') \ | 62 echo 'PKG_CONFIG_PATH="$$PKG_CONFIG_PATH_$(subst -,_,$(TARGET))" PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config $($(PKG)_STATIC_FLAG) "$$@"') \ |