-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure-mingw-release.sh
28 lines (21 loc) · 1.07 KB
/
configure-mingw-release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
# Warning: Remove all .exe files from builddir before running this script.
# g++.exe (and possibly gcc.exe) will take over, breaking the configuration.
# Example error message: "WARNING: C++ preprocessor "g++ -E" fails sanity check"
#---------------------------------------------------------------------------------
# Source and Install directories
#---------------------------------------------------------------------------------
export builddir=./build/release
# Installation directory.
# This must be specified in the format shown here
# or gcc won't be able to find it's libraries and includes
# if you move the installation.
export prefix=/usr/mapip2
#---------------------------------------------------------------------------------
# set the target and compiler flags
#---------------------------------------------------------------------------------
export CFLAGS='-O2 -pipe -Werror -Wno-unused-result -Wno-pedantic-ms-format'
export CXXFLAGS='-O2 -pipe -Werror -Wno-unused-result -Wno-pedantic-ms-format'
export LDFLAGS=''
export DEBUG_FLAGS=''
./configure-common.sh