mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 03:06:42 +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")
|
||||
|
||||
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")
|
||||
|
||||
|
@ -58,8 +58,10 @@ build_flags =
|
||||
-lm
|
||||
-lpthread
|
||||
; MacOS with Homebrew
|
||||
-I/usr/local/include
|
||||
-L/usr/local/lib
|
||||
;-I/usr/local/include
|
||||
;-L/usr/local/lib
|
||||
-I/opt/homebrew/include
|
||||
-L/opt/homebrew/lib
|
||||
-DTARGET_OS_MAC=1
|
||||
|
||||
lib_deps =
|
||||
@ -77,6 +79,7 @@ lib_ignore =
|
||||
ArduinoLog
|
||||
lv_lib_qrcode
|
||||
ETHSPI
|
||||
freetype
|
||||
|
||||
build_src_filter =
|
||||
+<*>
|
||||
|
Loading…
x
Reference in New Issue
Block a user