rearrange config.mk CC/CXX and CFLAGS/CXXFLAGS
This commit is contained in:
parent
9eaec7f22f
commit
b62a98e461
1 changed files with 5 additions and 3 deletions
|
|
@ -1,10 +1,12 @@
|
|||
# -*- make -*-
|
||||
|
||||
# === C Compiler Configuration ===
|
||||
CC := gcc
|
||||
CFLAGS := -Wall -Wextra -std=gnu23 -O
|
||||
CC := gcc -xc -std=gnu23
|
||||
CFLAGS := -Wall -Wextra -O
|
||||
CDEBUG := -g
|
||||
|
||||
# === C++ Compiler Configuration ===
|
||||
CXX := gcc -xc++ -lstdc++ -shared-libgcc
|
||||
CXX := gcc -xc++ -std=gnu++17 -lstdc++ -shared-libgcc
|
||||
CXXFLAGS := -Wall -Wextra -O
|
||||
CXXDEBUG := -g
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue