Skip to content

Build on Linux error cc1: error: argument to ‘-O’  #2

@klopsi

Description

@klopsi

Hi! On linux I begin with.
cmake -G "Unix Makefiles"
but get error on make
[ 16%] Building C object CMakeFiles/WMmp.dir/src/dockapp.c.o
cc1: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’ or ‘fast’

using
gcc version 8.2.0 (Debian 8.2.0-12)
cmake version 3.13.1
What do i change to fix the -O option cmake uses?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions