From f7adb1ce7a13753a6acf5c9eeb9577ecdada630c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 24 Aug 2019 22:10:09 +0300 Subject: Move c build system module to separate library --- build2/buildfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build2/buildfile') diff --git a/build2/buildfile b/build2/buildfile index cfc46e5..7f4187e 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -7,7 +7,7 @@ import libs = libbutl%lib{butl} include ../libbuild2/ libs += ../libbuild2/lib{build2} -for m: bash bin cc in version +for m: bash bin c cc in version { include ../libbuild2/$m/ libs += ../libbuild2/$m/lib{build2-$m} @@ -48,9 +48,6 @@ obj{b}: cxx.poptions += -DBUILD2_HOST_TRIPLET=\"$cxx.target\" # if ($cxx.target == $build.host) { - c/obj{init}: cxx.poptions += \ - -DBUILD2_NATIVE_C=\"$regex.replace($recall($c.path), '\\', '\\\\')\" - cxx/obj{init}: cxx.poptions += \ -DBUILD2_NATIVE_CXX=\"$regex.replace($recall($cxx.path), '\\', '\\\\')\" } -- cgit v1.1