summaryrefslogtreecommitdiffhomepage
path: root/contrib/npclient/COMPILE.TXT
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-10 15:35:22 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 15:35:22 +0100
commit2eac169518ab341d1b99b1ac6c2a88ab4e850ce5 (patch)
tree2a4023413cea16ee3407d763a80f5bcfef6f7a14 /contrib/npclient/COMPILE.TXT
parentd283b2b8eb54c49b38bb9b60ea70e04d07eb5bbd (diff)
proto/ft: fix logic error
Diffstat (limited to 'contrib/npclient/COMPILE.TXT')
-rw-r--r--contrib/npclient/COMPILE.TXT4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/npclient/COMPILE.TXT b/contrib/npclient/COMPILE.TXT
index e61b6c14..d355fbcc 100644
--- a/contrib/npclient/COMPILE.TXT
+++ b/contrib/npclient/COMPILE.TXT
@@ -6,6 +6,6 @@ CC=clang
CFLAGS='-Wall -Wextra -Wpedantic -Os -s -ffunction-sections -fdata-sections -Wl,--kill-at,--nxcompat,--dynamicbase,--as-needed,--gc-sections,--strip-all'
cd -- "$(dirname -- "$0")" &&
-PATH=/mingw32/bin:"$PATH" sh -c "$CC $CFLAGS -mdll -o NPClient.dll npclient.c" &&
-PATH=/mingw64/bin:"$PATH" sh -c "$CC $CFLAGS -mdll -o NPClient64.dll npclient.c" &&
+PATH=/mingw32/bin:"$PATH" sh -c "$CC -m32 $CFLAGS -mdll -o NPClient.dll npclient.c" &&
+PATH=/mingw64/bin:"$PATH" sh -c "$CC -m64 $CFLAGS -mdll -o NPClient64.dll npclient.c" &&
ls -l NPClient{64,}.dll && mv NPClient{64,}.dll ../../bin/