diff options
Diffstat (limited to 'src/gsl.mk')
-rw-r--r-- | src/gsl.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -20,6 +20,8 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + # wine confuses the cross-compiling detection, so set it explicitly + $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ @@ -27,4 +29,9 @@ define $(PKG)_BUILD --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 |