mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-24 07:28:10 +00:00
Merge pull request #1049 from philsmd/master
travis: a special case for sed on OSX is needed
This commit is contained in:
commit
8ff66bcf5f
@ -1,6 +1,7 @@
|
||||
# this is a workaround because some OpenCL headers cause problems with older gcc compilers (undefined macro: _WIN32)
|
||||
before_install:
|
||||
- sed -i 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sed -i "" 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sed -i 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h; fi
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
Loading…
Reference in New Issue
Block a user