From 83cc5d7250664b6ff24a2579779f0a5a5e3b00c8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 2 Apr 2021 17:10:57 +0300 Subject: Cleanup switch statements in buildfiles --- TODO | 5 ----- curl/curl/buildfile | 2 +- libcurl/libcurl/buildfile | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 3f1112f..da80960 100644 --- a/TODO +++ b/TODO @@ -1,10 +1,5 @@ On the revision: -- Fix the switch statements in the buildfiles, replacing 'switch $c.class, - $tsys' with 'switch $c.class'. - -- Replace the C++ comments with C comments in tests. - On the release: - Use legal{} target type for legal documentation (LICENSE, AUTHORS, etc). diff --git a/curl/curl/buildfile b/curl/curl/buildfile index 2977f42..f458c0e 100644 --- a/curl/curl/buildfile +++ b/curl/curl/buildfile @@ -28,7 +28,7 @@ switch $tclass, $tsys c.poptions =+ "-I$src_base" "-I$src_base/src" "-I$src_base/lib" -switch $c.class, $tsys +switch $c.class { case 'gcc' { diff --git a/libcurl/libcurl/buildfile b/libcurl/libcurl/buildfile index 21619b9..2245b83 100644 --- a/libcurl/libcurl/buildfile +++ b/libcurl/libcurl/buildfile @@ -63,7 +63,7 @@ obja{*}: c.poptions += -DCURL_STATICLIB if! $windows c.coptions += -fvisibility=hidden -switch $c.class, $tsys +switch $c.class { case 'gcc' { -- cgit v1.1