comparison src/native-gcc.mk @ 3523:1b350761007f

allow native-gcc build to succeed
author John W. Eaton <jwe@octave.org>
date Sun, 16 Feb 2014 17:49:33 -0500
parents 799dcef88a41
children b1ca68ddd02c
comparison
equal deleted inserted replaced
3522:9bc3862c2091 3523:1b350761007f
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gcc/gcc-$($(PKG)_VERSION)/$($(PKG)_FILE) 10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gcc/gcc-$($(PKG)_VERSION)/$($(PKG)_FILE)
11 $(PKG)_URL_2 := ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-$($(PKG)_VERSION)/$($(PKG)_FILE) 11 $(PKG)_URL_2 := ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-$($(PKG)_VERSION)/$($(PKG)_FILE)
12 12
13 $(PKG)_DEPS := native-binutils cloog gmp isl mpc mpfr 13 $(PKG)_DEPS := native-binutils cloog gmp isl mpc mpfr
14 ifeq ($(MXE_SYSTEM),mingw) 14 ifeq ($(MXE_SYSTEM),mingw)
15 ifeq ($(ENABLE_64),yes) 15 $(PKG)_DEPS += mingw-w64
16 $(PKG)_DEPS += mingw-w64
17 else
18 $(PKG)_DEPS += mingwrt w32api
19 endif
20 endif 16 endif
21 ifneq ($(BUILD_SHARED),yes) 17 ifneq ($(BUILD_SHARED),yes)
22 $(PKG)_STATIC_FLAG := --static 18 $(PKG)_STATIC_FLAG := --static
23 endif 19 endif
24 20
27 --enable-version-specific-runtime-libs \ 23 --enable-version-specific-runtime-libs \
28 --disable-nls \ 24 --disable-nls \
29 --without-x \ 25 --without-x \
30 --disable-win32-registry \ 26 --disable-win32-registry \
31 --enable-threads=win32 \ 27 --enable-threads=win32 \
32 --with-native-system-header-dir=$(HOST_PREFIX)/include 28 --with-native-system-header-dir='$(HOST_PREFIX)/include'
33 ifneq ($(ENABLE_64),yes) 29 ifneq ($(ENABLE_64),yes)
34 $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \ 30 $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \
35 --disable-sjlj-exceptions 31 --disable-sjlj-exceptions
36 endif 32 endif
37 endif 33 endif