Define _GNU_SOURCE

This commit is contained in:
Frank Denis 2019-12-09 23:45:41 +01:00
parent c68c672b47
commit c4673d86f5
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ before_deploy:
- sudo apt-get -y install libsodium-dev - sudo apt-get -y install libsodium-dev
- git clone --depth 1 https://github.com/jedisct1/minisign.git - git clone --depth 1 https://github.com/jedisct1/minisign.git
- cd minisign/src - cd minisign/src
- gcc -O2 -o /tmp/bin/minisign -I/tmp/include -L/tmp/lib *.c -lsodium - gcc -O2 -o /tmp/bin/minisign -D_GNU_SOURCE *.c -lsodium
- cd - - cd -
- minisign -v - minisign -v
- echo '#' > /tmp/minisign.key - echo '#' > /tmp/minisign.key