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 ===
|
# === C Compiler Configuration ===
|
||||||
CC := gcc
|
CC := gcc -xc -std=gnu23
|
||||||
CFLAGS := -Wall -Wextra -std=gnu23 -O
|
CFLAGS := -Wall -Wextra -O
|
||||||
CDEBUG := -g
|
CDEBUG := -g
|
||||||
|
|
||||||
# === C++ Compiler Configuration ===
|
# === C++ Compiler Configuration ===
|
||||||
CXX := gcc -xc++ -lstdc++ -shared-libgcc
|
CXX := gcc -xc++ -std=gnu++17 -lstdc++ -shared-libgcc
|
||||||
CXXFLAGS := -Wall -Wextra -O
|
CXXFLAGS := -Wall -Wextra -O
|
||||||
CXXDEBUG := -g
|
CXXDEBUG := -g
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue