Skip to content

Commit 7972e40

Browse files
committed
-Wno-error=implicit-function-declaration
1 parent e4a7a14 commit 7972e40

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

freeimageplus-static/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

3-
export CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCE=1"
3+
# The following CFFLAGS are required on macOS for FreeImage to build correctly. Note that this may not be the cleanest solution, but it works.
4+
export CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCE=1 -Wno-error=implicit-function-declaration"
45
export CXXFLAGS="$CXXFLAGS -std=gnu++98"
56

67
# Build step

0 commit comments

Comments
 (0)