[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master c6528973 06/13: Specify all '*FLAGS' in one p
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master c6528973 06/13: Specify all '*FLAGS' in one place |
Date: |
Mon, 21 Nov 2022 17:29:18 -0500 (EST) |
branch: master
commit c6528973d37570a06d76814c2075940806b139f1
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Specify all '*FLAGS' in one place
---
install_wx.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/install_wx.sh b/install_wx.sh
index 1a242574..8dcf4d57 100755
--- a/install_wx.sh
+++ b/install_wx.sh
@@ -93,8 +93,6 @@ config_options="
--with-cxx=11
--without-opengl
--without-subdirs
- CPPFLAGS=-I$prefix/include
- LDFLAGS=-L$exec_prefix/lib
"
[ -n "$mingw_bin_dir" ] && export PATH="$mingw_bin_dir:${PATH}"
@@ -118,8 +116,10 @@ cd "$build_dir"
# 'config_options' must not be double-quoted
# shellcheck disable=SC2086
"$wx_dir"/configure $config_options \
+ CPPFLAGS="-I$prefix/include" \
CFLAGS="$wx_cc_flags" \
CXXFLAGS="$wx_cxx_flags" \
+ LDFLAGS="-L$exec_prefix/lib" \
$MAKE
$MAKE install
- [lmi-commits] [lmi] master updated (b8fcdb21 -> d3d0a775), Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 7c47d71b 03/13: Perform speed test for all toolchains, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 55f92d87 02/13: Record gcc version twelve pc-linux-gnu speed for commit 5a4fcaed7, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master c6528973 06/13: Specify all '*FLAGS' in one place,
Greg Chicares <=
- [lmi-commits] [lmi] master 93e400db 10/13: Avoid literal '***' in a 'set -vx' script, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 8cb31fd7 01/13: Record gcc version eleven pc-linux-gnu speed for commit 5a4fcaed7, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 1a7a1e59 12/13: Use libc++ rather than libstdc++ with clang, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master b830f9a0 04/13: Record speed measurements, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 4b6b2b5c 05/13: Split long lines that will soon become longer, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master d6c7ec7a 08/13: Build and install libraries for all toolchains, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 1e6d03ee 09/13: Print log messages before and after building, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master d3d0a775 13/13: Record speed measurements, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master cc85ea5a 11/13: Build libraries with specified toolchain, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master a60c106c 07/13: Use clang's preprocessor, Greg Chicares, 2022/11/21