Explorar o código

Make sure that avr-gcc@7 gets linked into the path on MacOS.

Michael Kaylan %!s(int64=6) %!d(string=hai) anos
pai
achega
b1e74aee43
Modificáronse 3 ficheiros con 3 adicións e 1 borrados
  1. 1 1
      docs/faq_build.md
  2. 1 0
      docs/getting_started_build_tools.md
  3. 1 0
      util/macos_install.sh

+ 1 - 1
docs/faq_build.md

@@ -126,5 +126,5 @@ For now, you need to rollback avr-gcc to 7 in brew.
 ```
 brew uninstall --force avr-gcc
 brew install avr-gcc@7
-brew link avr-gcc@7
+brew link --force avr-gcc@7
 ```

+ 1 - 0
docs/getting_started_build_tools.md

@@ -57,6 +57,7 @@ If you're using [homebrew,](http://brew.sh/) you can use the following commands:
     brew tap PX4/homebrew-px4
     brew update
     brew install avr-gcc@7
+    brew link --force avr-gcc@7
     brew install dfu-programmer
     brew install dfu-util
     brew install gcc-arm-none-eabi

+ 1 - 0
util/macos_install.sh

@@ -23,3 +23,4 @@ brew tap osx-cross/avr
 brew tap PX4/homebrew-px4
 brew update
 brew install avr-gcc@7 gcc-arm-none-eabi dfu-programmer avrdude dfu-util
+brew link --force avr-gcc@7