Skip to content

Commit

Permalink
gdb_monitor: force build with -std=gnu++17
Browse files Browse the repository at this point in the history
Issue #4827
Fixes #4873
  • Loading branch information
chelmuth committed May 16, 2023
1 parent e689cde commit 206b85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repos/ports/lib/mk/gdbserver_platform.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ CC_OPT_gdbserver_platform_helper += -fpermissive
CC_OPT += -DGDBSERVER
CC_OPT += -DHAVE_DECL_PTRACE -DHAVE_SYS_PTRACE_H

CC_CXX_OPT_STD = -std=gnu++17

LIBS += stdcxx libc

vpath %.cc $(REP_DIR)/src/lib/gdbserver_platform
Expand Down
1 change: 1 addition & 0 deletions repos/ports/src/app/gdb_monitor/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,4 @@ genode-low.o sandbox/server.o: $(SANDBOX_HEADERS)
ln -sf $< $@

CC_CXX_WARN_STRICT =
CC_CXX_OPT_STD = -std=gnu++17

0 comments on commit 206b85f

Please sign in to comment.