diff options
author | tonyfettes | 2020-10-28 09:00:48 +0800 |
---|---|---|
committer | tonyfettes | 2020-10-28 09:00:48 +0800 |
commit | 679153d713a879d206945b938475b85ab9d5c948 (patch) | |
tree | 6ff04e2aba5c8587a6706d5f3ac7b7d9ae8ee9ea | |
parent | 7f7393c3b52a53095c1375b77ef3dff54214b666 (diff) | |
download | aur-679153d713a879d206945b938475b85ab9d5c948.tar.gz |
Fix compiler error when install RPi.GPIO
-rw-r--r-- | argonone.install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/argonone.install b/argonone.install index e07537e31511..736a9cdf41c0 100644 --- a/argonone.install +++ b/argonone.install @@ -4,7 +4,8 @@ pre_install() { echo "Building New Virtual Environment in /opt/argonone..." python -m venv --clear /opt/argonone /opt/argonone/bin/python3 -m pip install --upgrade pip - /opt/argonone/bin/python3 -m pip install pysmbus RPi.GPIO + /opt/argonone/bin/python3 -m pip install pysmbus + CFLAGS="-fcommon" /opt/argonone/bin/python3 -m pip install RPi.GPIO echo "Enabling i2C..." BOOT_CFG="/boot/config.txt" |