Skip to content

Commit

Permalink
Compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
ccanel committed Feb 1, 2025
1 parent 489dbe4 commit b140f56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ratemon/runtime/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ VMLINUX := $(OUTPUT)/vmlinux.h
# libbpf to avoid dependency on system-wide headers, which could be missing or
# outdated
INCLUDES := -I$(OUTPUT) -I../../../libbpf/include/uapi -I$(dir $(VMLINUX))
CC := clang
CFLAGS := -g -std=c17 -Wall -Wextra
ALL_LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
# If this is not set with an environment variable, then hardcode it.
RM_IFACE ?= eno4
RM_CGROUP ?= /test_cg

CXX := g++
CXXFLAGS := -g -std=c++20 -Wall -Wextra
CXX := clang++
CXXFLAGS := -g -std=c++23 -Wall -Wextra
SRC_DIR := $(abspath ../../../../)
BOOST_INCLUDE := $(SRC_DIR)/boost_1_87_0/
BOOST_LIB := $(SRC_DIR)/boost_1_87_0/stage/lib
Expand Down

0 comments on commit b140f56

Please sign in to comment.