summaryrefslogtreecommitdiffstats
path: root/src/gsl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsl.mk')
-rw-r--r--src/gsl.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gsl.mk b/src/gsl.mk
index 979c42f..bf50be2 100644
--- a/src/gsl.mk
+++ b/src/gsl.mk
@@ -1,14 +1,11 @@
-# This file is part of mingw-cross-env.
-# See doc/index.html for further information.
+# This file is part of MXE.
+# See index.html for further information.
-# GSL
PKG := gsl
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.14
$(PKG)_CHECKSUM := e1a600e4fe359692e6f0e28b7e12a96681efbe52
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/
$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
@@ -22,9 +19,15 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
+ --build="`config.guess`" \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \
--enable-static
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gsl.exe' \
+ -lgsl
endef