Skip to content

Commit

Permalink
Add -std=c++14 for application build
Browse files Browse the repository at this point in the history
  • Loading branch information
yingzhang committed Jul 25, 2022
1 parent 9360468 commit 4c30af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MakeLib.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ ifeq ($(DEBUG),1)
$(info Building debug version)
ODIR:=$(ODIR_BASE)/lib/debug
CFLAGS?=-Wall -Wextra -O0 -g -fPIC $(VISIBILITY)
CXXFLAGS?=-Wall -Wextra -Wno-missing-field-initializers --std=c++0x -O0 -g -fPIC $(VISIBILITY) $(CXXINCLUDES)
CXXFLAGS?=-Wall -Wextra -Wno-missing-field-initializers --std=c++14 -O0 -g -fPIC $(VISIBILITY) $(CXXINCLUDES)
else
# Release mode options
ODIR:=$(ODIR_BASE)/lib/release
CFLAGS?=-Wall -Wextra -O3 -fPIC $(VISIBILITY)
CXXFLAGS?=-Wall -Wextra -Wno-missing-field-initializers --std=c++0x -O3 -fPIC $(VISIBILITY) $(CXXINCLUDES)
CXXFLAGS?=-Wall -Wextra -Wno-missing-field-initializers --std=c++14 -O3 -fPIC $(VISIBILITY) $(CXXINCLUDES)
endif

OBJ_NAMES= libnethogs.o packet.o connection.o process.o decpcap.o inode2prog.o conninode.o devices.o
Expand Down

0 comments on commit 4c30af3

Please sign in to comment.