[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 4d58421b 05/17: Increase concinnity
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 4d58421b 05/17: Increase concinnity |
Date: |
Sat, 2 Jul 2022 21:42:14 -0400 (EDT) |
branch: master
commit 4d58421bf85aefb863f1e333c090d2131cf9e96c
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Increase concinnity
The order of these options shouldn't matter, but it's better to use
the same order for clang as for gcc.
---
compiler_clang.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler_clang.make b/compiler_clang.make
index 48770783..4305bb94 100644
--- a/compiler_clang.make
+++ b/compiler_clang.make
@@ -141,14 +141,14 @@ REQUIRED_COMPILER_FLAGS := \
# C compiler flags.
-REQUIRED_CFLAGS = $(REQUIRED_COMPILER_FLAGS) -std=c99
+REQUIRED_CFLAGS = -std=c99 $(REQUIRED_COMPILER_FLAGS)
# Better to leave this unset, and specify optimization elsewhere?
CFLAGS = $(optimization_flag)
# C++ compiler flags.
-REQUIRED_CXXFLAGS = $(REQUIRED_COMPILER_FLAGS) -std=c++20
+REQUIRED_CXXFLAGS = -std=c++20 $(REQUIRED_COMPILER_FLAGS)
# Write '-Wno' options at the end, with a rationale here.
#
- [lmi-commits] [lmi] master updated (61ff010d -> ec379f81), Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 4d58421b 05/17: Increase concinnity,
Greg Chicares <=
- [lmi-commits] [lmi] master 8429817f 04/17: Increase concinnity, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 1018709f 07/17: Move a warning option to its proper place, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master f708d833 12/17: Override flags for product files more appropriately, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master acfa77b0 08/17: Simplify, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 6896ec57 03/17: Explain uniformly why pointer-{compare, subtract} aren't used, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 05ef210f 01/17: Remove obsolete '.patch' files, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master be64abf0 11/17: Establish general compiler flags earlier, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master 0e3c2fbb 02/17: Don't let makefiles end in an empty line, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master adcaef29 06/17: Establish a framework for clang warnings, Greg Chicares, 2022/07/02
- [lmi-commits] [lmi] master e4abb6e1 14/17: Don't specify nonempty $CFLAGS or $CXXFLAGS, Greg Chicares, 2022/07/02