mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 19:26:38 +00:00
Fix mac build:
- Change compiler version so it works with newer MacOS - Fix library paths - Exclude freetype which creates a build error
This commit is contained in:
parent
33d21e0675
commit
4de8f4953e
@ -1,6 +1,7 @@
|
|||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
env.Replace(CC="gcc-10", CXX="g++-10")
|
#env.Replace(CC="gcc-10", CXX="g++-10")
|
||||||
|
env.Replace(CC="gcc-12", CXX="g++-12")
|
||||||
|
|
||||||
env.Replace(BUILD_SCRIPT="tools/osx_build_script.py")
|
env.Replace(BUILD_SCRIPT="tools/osx_build_script.py")
|
||||||
|
|
||||||
|
@ -58,8 +58,10 @@ build_flags =
|
|||||||
-lm
|
-lm
|
||||||
-lpthread
|
-lpthread
|
||||||
; MacOS with Homebrew
|
; MacOS with Homebrew
|
||||||
-I/usr/local/include
|
;-I/usr/local/include
|
||||||
-L/usr/local/lib
|
;-L/usr/local/lib
|
||||||
|
-I/opt/homebrew/include
|
||||||
|
-L/opt/homebrew/lib
|
||||||
-DTARGET_OS_MAC=1
|
-DTARGET_OS_MAC=1
|
||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
@ -77,6 +79,7 @@ lib_ignore =
|
|||||||
ArduinoLog
|
ArduinoLog
|
||||||
lv_lib_qrcode
|
lv_lib_qrcode
|
||||||
ETHSPI
|
ETHSPI
|
||||||
|
freetype
|
||||||
|
|
||||||
build_src_filter =
|
build_src_filter =
|
||||||
+<*>
|
+<*>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user