about summary refs log tree commit diff
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:13 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 11:09:13 +0000
commit83ce4c3d32a0f36e5b3957516eff9dbf679a756d (patch)
tree5c6eb0dbad51e3a1488d2fb6134b727554f1d1fc /tools/gen-deps.sh
parent903265fd502541ae77327ccb5d72f5dc3626bb57 (diff)
downloadbcnm-83ce4c3d32a0f36e5b3957516eff9dbf679a756d.tar.gz
bcnm-83ce4c3d32a0f36e5b3957516eff9dbf679a756d.tar.xz
bcnm-83ce4c3d32a0f36e5b3957516eff9dbf679a756d.zip
Make all-pic a user option
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh
index 67ec2d4..6383ac2 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -65,7 +65,7 @@ for dir in $(ls -1 src | grep -v ^include) ; do
         deps="$deps src/$dir/$dep"
       fi
     done < src/$dir/deps-lib/$file
-    echo 'ifeq ($(strip $(DEFAULT_PIE)),)'
+    echo 'ifeq ($(strip $(STATIC_LIBS_ARE_PIC)),)'
     echo "lib${file}.a.xyzzy:$deps"
     echo else
     echo "lib${file}.a.xyzzy:$(echo "$deps" | sed 's/\.o/.lo/g')"