lmi-commits
[Top][All Lists]
Advanced

[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.
 #



reply via email to

[Prev in Thread] Current Thread [Next in Thread]