summaryrefslogtreecommitdiff
path: root/userspace/cpp/Makefile
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-10-11 02:14:52 +0200
committerMiguel <m.i@gmx.at>2018-10-11 02:14:52 +0200
commit8b33f268b67455ded8d35f3c198425562173fa2e (patch)
tree947e9b5503c0447f12f6d8d2c00c3b177dddef72 /userspace/cpp/Makefile
parente2005fda57ea4da12754d67ba127b09508125395 (diff)
almost cross compliing c++
Diffstat (limited to 'userspace/cpp/Makefile')
-rw-r--r--userspace/cpp/Makefile11
1 files changed, 10 insertions, 1 deletions
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