Skip to content

Make CFLAG issue on old version of Ubuntu  #7

@lakiw

Description

@lakiw

I tried to compile OMEN on a very old version of Ubuntu (long story), and ran into the following issues when running Make:

cc1: error: unrecognized command line option ‘-Wpedantic’
cc1: error: unrecognized command line option ‘-std=gnu11’

To fix it, I changed the CFLAG variable in the makefile to -pedantic and -std=gnu99. After that OMEN compiled and worked as expected.

Ubuntu Version: 12.04.5 LTS
gcc version 4.6.3

Note, I ran into a similar problem when I tried that out on a similarly out of date CentoOS release 6.7

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