aboutsummaryrefslogtreecommitdiff
path: root/cmake/openwattcom-dos/ow-cmake.sh
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2020-09-03 21:30:21 +0300
committerWohlstand <admin@wohlnet.ru>2020-09-03 21:30:21 +0300
commite81db845bf4c8b78310fd8c8807f490cb094a0ec (patch)
tree4b854d708773d3b0818781d09157d07dee2415be /cmake/openwattcom-dos/ow-cmake.sh
parent94f30af1cca58faea337d0e50fc21a852c5bb2b7 (diff)
downloadlibADLMIDI-e81db845bf4c8b78310fd8c8807f490cb094a0ec.tar.gz
libADLMIDI-e81db845bf4c8b78310fd8c8807f490cb094a0ec.tar.bz2
libADLMIDI-e81db845bf4c8b78310fd8c8807f490cb094a0ec.zip
Tweak OpenWatcom flags and scripts
Unfortunately, thing is now unbuildable under OW because of missing std::nothrew and template-of-template
Diffstat (limited to 'cmake/openwattcom-dos/ow-cmake.sh')
-rwxr-xr-xcmake/openwattcom-dos/ow-cmake.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/openwattcom-dos/ow-cmake.sh b/cmake/openwattcom-dos/ow-cmake.sh
index 60ebf6e..2afcc6e 100755
--- a/cmake/openwattcom-dos/ow-cmake.sh
+++ b/cmake/openwattcom-dos/ow-cmake.sh
@@ -1,11 +1,11 @@
#!/bin/bash
-export WATCOM=$HOME/Qt/Tools/ow-snapshot-2.0
+export WATCOM=/opt/watcom
export EDPATH=$WATCOM/eddat
export WIPFC=$WATCOM/wipfc
export INCLUDE="$WATCOM/h"
-WATCOM_FLAGS="-bdos4g -march=i386"
-export CFLAGS="$WATCOM_FLAGS -xc -std=wc"
-export CXXFLAGS="$WATCOM_FLAGS -xc++ -xs -feh -frtti -std=c++98"
+#WATCOM_FLAGS="-bdos4g -march=i386"
+#export CFLAGS="$WATCOM_FLAGS -x c -std=wc"
+#export CXXFLAGS="$WATCOM_FLAGS -x c++ -xs -feh -frtti -std=c++98"
export LFLAGS="$WATCOM_FLAGS"
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"