summaryrefslogtreecommitdiffstats
path: root/src/libgomp.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-05-09 21:16:22 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-05-09 21:16:22 (GMT)
commita4adc28b0b5f601928887863effe7d808f467e33 (patch)
treee5213592b74000e5d022d72aead0220acfeebad5 /src/libgomp.mk
parent3171447283bdba8145e41c8a2d86b486b9d4fe36 (diff)
downloadmxe-a4adc28b0b5f601928887863effe7d808f467e33.zip
mxe-a4adc28b0b5f601928887863effe7d808f467e33.tar.gz
mxe-a4adc28b0b5f601928887863effe7d808f467e33.tar.bz2
add test program for package libgomp (by Tony Theodore)
Diffstat (limited to 'src/libgomp.mk')
-rw-r--r--src/libgomp.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libgomp.mk b/src/libgomp.mk
index 997de0e..4206864 100644
--- a/src/libgomp.mk
+++ b/src/libgomp.mk
@@ -28,4 +28,9 @@ define $(PKG)_BUILD
--disable-shared \
LIBS='-lws2_32'
$(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' install
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libgomp.exe' \
+ -fopenmp
endef