Last active
September 26, 2023 08:47
-
-
Save scheckley/3f10965397287cac2a2741f7a60bf6fd to your computer and use it in GitHub Desktop.
.R/Makevars use Zig to compile in place of standard gcc and g++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFLAGS += -O3 -Wall -pipe -pedantic -std=gnu99 | |
CXXFLAGS += -O3 -Wall -pipe -Wno-unused -pedantic | |
CC = zig cc | |
CXX = zig c++ | |
CXXSTD = zig c++ | |
CXX98 = zig c++ | |
CXX11 = zig c++ | |
CXX14 = zig c++ | |
CXX17 = zig c++ | |
CXX20 = zig c++ | |
CXXCPP = zig c++ | |
OBJC = zig cc | |
OBJCXX = zig c++ | |
SHLIB_CXXLD = zig c++ | |
MAKE = make -j8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment