diff options
author | Chris Johns <chrisj@rtems.org> | 2023-06-05 11:57:32 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-06-05 11:57:32 +1000 |
commit | ba35f73d2ddc82d2b9a7b728dc63552be2274968 (patch) | |
tree | 815f108bee6aee7c904abc3d0831302c2287d3f9 /testsuites/ftp01 | |
parent | ad5ae9e4d81f227b521e2dc7441aca2accb0966e (diff) |
testsuites: Build testsuites/support as a static library
This avoids dependency issues if the source files are added
to separate program builds.
Diffstat (limited to 'testsuites/ftp01')
-rw-r--r-- | testsuites/ftp01/wscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/ftp01/wscript b/testsuites/ftp01/wscript index 550b0b5..6826584 100644 --- a/testsuites/ftp01/wscript +++ b/testsuites/ftp01/wscript @@ -39,11 +39,13 @@ def configure(conf): def build(bld): source = ['init.c'] + cflags = bld.env.OPTIMIZATION + bld.env.WARNINGS + ['-g'] bld.program(target='ftp01.exe', features='c cprogram', - cflags=bld.env.OPTIMIZATION + ['-g'], + cflags=cflags, includes=bld.env.IFLAGS, lib=['ftpfs', 'ftpd', 'networking'], libpath=['.'], + use=['testsupport'], source=source, install_path=False) |