OSDN Git Service

update build env for mac
authorSHIRAKATA Kentaro <argrath@ub32.org>
Fri, 3 Apr 2020 21:11:14 +0000 (06:11 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Tue, 7 Apr 2020 19:40:28 +0000 (04:40 +0900)
.travis.yml
japanese/set_mac.sh
sys/unix/hints/macosx10.10

index 4729f39..1b30fe1 100644 (file)
@@ -7,7 +7,7 @@ os:
 compiler:
   - gcc
 
-osx_image: xcode10.2
+osx_image: xcode11.3
 
 addons:
   apt:
@@ -16,7 +16,7 @@ addons:
   homebrew:
     packages:
     - nkf
-    - gcc@8
+    - gcc@9
 
 before_script:
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh japanese/set_mac.sh ; fi
index 435b908..ea83750 100644 (file)
@@ -1,3 +1,3 @@
-brew link --overwrite gcc@8
+brew link --overwrite gcc@9
 find . -type f -name '*.c' -or -name '*.h'|xargs -n1 nkf -Sw --cp932 --overwrite
 sh sys/unix/setup.sh sys/unix/hints/macosx10.10
index a09d3f4..c54c754 100644 (file)
@@ -58,7 +58,7 @@ GAMEGRP  = games
 # build to run in the source tree - primarily for development.  Build with "make all"
 #WANT_SOURCE_INSTALL=1
 
-CC=gcc-8
+CC=gcc-9
 CFLAGS+=-fexec-charset=cp932 -Wno-comment -Wno-unused-parameter -Wno-overlength-strings -Wno-format-overflow
 
 # At the moment this is just for debugging, but in the future it could be