citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 7adfc2a0dbed81ab31e5a774f0b88489807a8fd5
parent 4040b0d5317a0836e0c3787b531a5ce156272cd3
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Tue, 29 Mar 2016 20:34:00 -0600

move more openbsd link hacks into Jamrules

Diffstat:
MJamrules | 5++++-
Mviewer/Jamfile | 3---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jamrules b/Jamrules @@ -2,5 +2,8 @@ if $(OS) = OPENBSD { C++ = eg++ ; - LINK on scv_viewer = eg++ ; + + # Link directly against libestdc++ from ports + LINKLIBS on scv_viewer = `pkg-config gl glew freetype2 --libs` ; + LINKLIBS on scv_viewer += -lestdc++ -lm -lglut ; } diff --git a/viewer/Jamfile b/viewer/Jamfile @@ -4,9 +4,6 @@ SUBDIRC++FLAGS = `pkg-config gl glew freetype2 --cflags` ; SUBDIRC++FLAGS += -I/usr/local/include ; SUBDIRC++FLAGS += -std=c++11 ; -LINKLIBS on scv_viewer = `pkg-config gl glew freetype2 --libs` ; -LINKLIBS on scv_viewer += -lstdc++ -lm -lglut ; - Main scv_viewer : main.cc runtime_process.cc