Skip to content

Commit

Permalink
Windows only hack
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 1, 2016
1 parent d2070a3 commit bc3cf9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
PKG_CPPFLAGS= -Icmark -I.
PKG_CFLAGS=-Wno-pointer-to-int-cast

# Hack to add a windows-only flag
PKG_CFLAGS= $(subst 64,-Wno-pointer-to-int-cast,$(subst 32,64,$(WIN)))

LIBCMARK= cmark/cmark.o cmark/node.o cmark/iterator.o cmark/blocks.o cmark/inlines.o \
cmark/scanners.o cmark/utf8.o cmark/buffer.o cmark/references.o cmark/render.o \
Expand Down

0 comments on commit bc3cf9f

Please sign in to comment.