Added cc and c++ wrapper scripts.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23903 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-02-07 00:26:02 +00:00
parent 7b344764b5
commit 7025a0386d
4 changed files with 10 additions and 0 deletions

View File

@ -492,6 +492,9 @@ if [ IsOptionalHaikuImagePackageAdded Development ]
$(BEOS_SYSTEM_LIBS_LIBNETWORK_ALIASES) libglut.so {
AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ;
}
# cc and c++ wrapper scripts
AddFilesToHaikuImage beos bin : cc c++ ;
}
# Vision

View File

@ -152,6 +152,9 @@ StdBinCommands
filepanel.cpp
: be tracker : $(haiku-utils_rsrc) ;
# cc and c++ wrapper scripts
SEARCH on cc c++ = $(SUBDIR) ;
SubInclude HAIKU_TOP src bin addattr ;
SubInclude HAIKU_TOP src bin bash ;
SubInclude HAIKU_TOP src bin bc ;

2
src/bin/c++ Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec $BE_CPLUS_COMPILER $BE_DEFAULT_C_FLAGS $BE_DEFAULT_CPLUS_FLAGS $*

2
src/bin/cc Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec $BE_C_COMPILER $BE_DEFAULT_C_FLAGS $*