From 8b33f268b67455ded8d35f3c198425562173fa2e Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 11 Oct 2018 02:14:52 +0200 Subject: almost cross compliing c++ --- userspace/cpp/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'userspace/cpp/Makefile') diff --git a/userspace/cpp/Makefile b/userspace/cpp/Makefile index 7623325..9f4b314 100644 --- a/userspace/cpp/Makefile +++ b/userspace/cpp/Makefile @@ -1,6 +1,15 @@ CXX=i686-foolos-g++ -testcpp: +CFLAGS= +CFLAGS+=-O0 +CFLAGS+=-gstabs + +LDLIBS+=-lgcc + +ASFLAGS= +ASFLAGS+=-gstabs + +testcpp: prep.cpp clean: rm -f testcpp -- cgit v1.2.3