diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-06-15 20:12:49 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-06-15 20:12:49 (GMT) |
commit | d9a12589e89783ee52e6f7848ff2f43ff0f1eba3 (patch) | |
tree | 84d8d5b3823d68aca8fce183f09e756280a61864 /src | |
parent | 069c348ae7e69f53d8e904b3637dc9f58dd79447 (diff) | |
download | mxe-d9a12589e89783ee52e6f7848ff2f43ff0f1eba3.zip mxe-d9a12589e89783ee52e6f7848ff2f43ff0f1eba3.tar.gz mxe-d9a12589e89783ee52e6f7848ff2f43ff0f1eba3.tar.bz2 |
use a build directory separate from the source directory in package gcc (by Tony Theodore)
Diffstat (limited to 'src')
-rw-r--r-- | src/gcc.mk | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -30,12 +30,12 @@ define $(PKG)_BUILD mv '$(1)/$(gcc-mpfr_SUBDIR)' '$(1)/mpfr' # build GCC and support libraries - mkdir '$(1)/build' + mkdir '$(1).build' # mpfr 3.0.0 configure expects these gmp headers here - mkdir '$(1)/build/gmp' - ln -s '$(1)/gmp/gmp-impl.h' '$(1)/build/gmp/' - ln -s '$(1)/gmp/longlong.h' '$(1)/build/gmp/' - cd '$(1)/build' && '$(1)/configure' \ + mkdir '$(1).build/gmp' + ln -s '$(1)/gmp/gmp-impl.h' '$(1).build/gmp/' + ln -s '$(1)/gmp/longlong.h' '$(1).build/gmp/' + cd '$(1).build' && '$(1)/configure' \ --target='$(TARGET)' \ --prefix='$(PREFIX)' \ --enable-languages='c,c++,objc,fortran' \ @@ -50,8 +50,8 @@ define $(PKG)_BUILD --enable-threads=win32 \ --disable-libgomp \ --disable-libmudflap - $(MAKE) -C '$(1)/build' -j '$(JOBS)' - $(MAKE) -C '$(1)/build' -j 1 install + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install # create pkg-config script (echo '#!/bin/sh'; \ |