use gcc 11 from gcc-toolset for RHEL8
This commit is contained in:
@@ -1,5 +1,2 @@
|
||||
# Include definitions common to linux pentium targets
|
||||
include $(CONFIG)/os/CONFIG.Common.linux-x86_64
|
||||
|
||||
# highest c++ standard that is compiler can do
|
||||
STD_CXXFLAGS = -std=c++2a
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
# Include common linux definitions
|
||||
include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
|
||||
|
||||
# Use gcc 11 from gcc-toolset-11
|
||||
GNU_BIN = /opt/rh/gcc-toolset-11/root/usr/bin
|
||||
# Fix bug in gcc-toolset-11 calling the old assembler
|
||||
TARGET_CFLAGS = -B$(GNU_BIN)
|
||||
STD_CXXFLAGS = -std=c++17
|
||||
|
||||
Reference in New Issue
Block a user