summaryrefslogtreecommitdiffstats
path: root/src/guile.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-03-03 14:13:36 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-03-03 14:13:36 (GMT)
commitc2b04c01758ab3e838cf0e16df192f7f377bc971 (patch)
tree24ac10b1a27b8c4bfd734f68178e75cee1a8dd73 /src/guile.mk
parent8de57b0d6d66a0db8144bd9dbeca103e695dbbc8 (diff)
downloadmxe-c2b04c01758ab3e838cf0e16df192f7f377bc971.zip
mxe-c2b04c01758ab3e838cf0e16df192f7f377bc971.tar.gz
mxe-c2b04c01758ab3e838cf0e16df192f7f377bc971.tar.bz2
package guile: fix test program
Diffstat (limited to 'src/guile.mk')
-rw-r--r--src/guile.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guile.mk b/src/guile.mk
index c9addbb..3a39c31 100644
--- a/src/guile.mk
+++ b/src/guile.mk
@@ -35,5 +35,6 @@ define $(PKG)_BUILD
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-guile.exe' \
- `'$(TARGET)-pkg-config' guile-1.8 --cflags --libs`
+ `'$(TARGET)-pkg-config' guile-1.8 --cflags --libs` \
+ -DGUILE_MAJOR_MINOR=$(call SHORT_PKG_VERSION,$(PKG))
endef