Skip to content

Build error on macos x #9

@bentxt

Description

@bentxt

Hi
The following error after running jpm build

git clone https://github.com/janet-lang/jaylib
cd jaylib/
git submodule update --init --recursive
jpm build
compiling build/src___main.o...
cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast'
error: command exited with status 1
  in shell [/Users/ben/builds/bin/jpm] (tailcall) on line 264, column 5
  in do-rule [/Users/ben/builds/bin/jpm] on line 100, column 24
  in do-rule [/Users/ben/builds/bin/jpm] on line 98, column 44
  in do-rule [/Users/ben/builds/bin/jpm] (tailcall) on line 98, column 44

My system:

ProductName: Mac OS X
ProductVersion: 10.15.4
BuildVersion: 19E287

cc --version
cc (Homebrew GCC 9.3.0_1) 9.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions