Revert "Add -fPIC to Linux builds so the static lwext library can be linked with...
authorCarl Hetherington <cth@carlh.net>
Mon, 4 Jan 2021 14:17:01 +0000 (15:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 4 Jan 2021 14:17:01 +0000 (15:17 +0100)
This reverts commit 0b38e3e62df25a89db98e101e530edf1a4316cd3.

cscript

diff --git a/cscript b/cscript
index 868486fb2f37cf4dbc51ea91ecb9488e8a203595..f7b859de6639116f6da432640f683b1664ebebf3 100644 (file)
--- a/cscript
+++ b/cscript
@@ -48,7 +48,6 @@ def build(target, options):
         blockdev = 'linux'
         ext = 'a'
         device = 'dev'
-        target.command('CFLAGS=-fPIC cmake .')
     elif target.platform == 'osx':
         if target.arch == 'x86_64':
             type = 'osx'