Don't link with libstdc++ for plain C samples.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37920 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-08-05 10:43:56 +00:00
parent 4ebeabb639
commit 3f7aeed212
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src tests kits opengl demos gears ;
SetSubDirSupportedPlatformsBeOSCompatible ; SetSubDirSupportedPlatformsBeOSCompatible ;
if $(TARGET_PLATFORM) != haiku { if $(TARGET_PLATFORM) != haiku {
# Needed for <GL/glut.h>, not present in R5. # Needed for <GL/glut.h>, not present in R5.
# Unfortunately we also get the other headers there, # Unfortunately we also get the other headers there,
# that we don't really want. # that we don't really want.
UsePublicHeaders opengl ; UsePublicHeaders opengl ;
@@ -11,5 +11,5 @@ if $(TARGET_PLATFORM) != haiku {
SimpleTest GLGears : SimpleTest GLGears :
gears.c gears.c
: be libGL.so $(TARGET_LIBSUPC++) : be GL
; ;
+2 -2
View File
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src tests kits opengl direct_mode ;
SetSubDirSupportedPlatformsBeOSCompatible ; SetSubDirSupportedPlatformsBeOSCompatible ;
if $(TARGET_PLATFORM) != haiku { if $(TARGET_PLATFORM) != haiku {
# Needed for <GL/glut.h>, not present in R5. # Needed for <GL/glut.h>, not present in R5.
# Unfortunately we also get the other headers there, # Unfortunately we also get the other headers there,
# that we don't really want. # that we don't really want.
UsePublicHeaders opengl ; UsePublicHeaders opengl ;
@@ -11,6 +11,6 @@ if $(TARGET_PLATFORM) != haiku {
SimpleTest GLDirectMode : SimpleTest GLDirectMode :
GLDirectMode.cpp GLDirectMode.cpp
: be game libGL.so $(TARGET_LIBSUPC++) : be game GL $(TARGET_LIBSUPC++)
: GLDirectMode.rdef : GLDirectMode.rdef
; ;
+1 -1
View File
@@ -11,5 +11,5 @@ if $(TARGET_PLATFORM) != haiku {
SimpleTest GLUTGameMode : SimpleTest GLUTGameMode :
game_mode.c game_mode.c
: be libGL.so $(TARGET_LIBSUPC++) : be GL
; ;