Do not use $static_link for GCOV builds,

since this flag was explicitly removed in pushbuild for GCOV builds.

 BUILD_CMD => ['sh', '-c', 'perl -i.bak -pe "s/ \\\\\$static_link//" ' .
              'BUILD/compile-pentium-gcov; BUILD/compile-pentium-gcov'],

Moving $static_link to SETUP.sh broke this, and is now fixed.

Should this flag be needed on some platforms,
the proper location is compile-<platform>-gcov

Tested the amd64 and pentium64 build fine without it, and can run NDB tests.


BUILD/SETUP.sh:
  Removed $static_link from GCOV builds.
This commit is contained in:
unknown 2007-08-22 18:11:01 -06:00
parent 6f052e87bf
commit 33e123ead9

View file

@ -155,7 +155,7 @@ gcov_compile_flags="$gcov_compile_flags -DMYSQL_SERVER_SUFFIX=-gcov -DHAVE_gcov"
gcov_link_flags="-fprofile-arcs -ftest-coverage"
gcov_configs="--disable-shared $static_link"
gcov_configs="--disable-shared"
# gprof