Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Cannot add compiler option -O2 to the library / application #27

Closed
mikelik opened this issue Mar 28, 2023 · 0 comments · Fixed by #33 or #37
Closed

Cannot add compiler option -O2 to the library / application #27

mikelik opened this issue Mar 28, 2023 · 0 comments · Fixed by #33 or #37
Assignees
Labels
bug Something isn't working 👍 lgtm
Milestone

Comments

@mikelik
Copy link
Member

mikelik commented Mar 28, 2023

How can I add compile options "-O2" to the project in antler?

When I try antler-proj update app XYZ C++ -O2 I get:
The following argument was not expected: -O2

I have also tried:

mikel@msi:~/repo/DUNE/tmp$ /home/mikel/repo/antler-proj/build/tools/antler-proj update lib  XYZ  C++ '-O2'
The following argument was not expected: -O2
Run with --help for more information.
mikel@msi:~/repo/DUNE/tmp$ /home/mikel/repo/antler-proj/build/tools/antler-proj update lib  XYZ  C++ "-O2"
The following argument was not expected: -O2
Run with --help for more information.

I have tried also \-O2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.