diff src/gearsTools/pmake.pl @ 395:17e8a4bc06a7 default tip

add macOS AR/RANLIB
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 14 Dec 2020 21:59:50 +0900
parents 03b57cc656d9
children
line wrap: on
line diff
--- a/src/gearsTools/pmake.pl	Mon Dec 14 20:44:38 2020 +0900
+++ b/src/gearsTools/pmake.pl	Mon Dec 14 21:59:50 2020 +0900
@@ -37,6 +37,10 @@
 my $objcopy;
 if ($^O =~ /darwin/){
     my $armdir = "/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major";
+    push(@cmake_arg,
+      "-DCBC_AR=$armdir/bin/arm-none-eabi-ar",
+      "-DCBC_RANLIB=$armdir/bin/arm-none-eabi-ranlib",
+       );
     $objcopy = "$armdir/bin/arm-none-eabi-objcopy";
     # my $cbcmdir = "/usr/local/Cellar/cbc/llvm10";
     if (! defined $cbcmdir) {