-
-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Labels
topic: build-processRelated to the sketch build processRelated to the sketch build processtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Bug Report
library.properties ldflags is ignored unless precompiled=true
Current behavior
After failing to get ldflags to work, I checked the source and found it is only used with precompiled libraries.
if library.Precompiled { |
Expected behavior
ldflags, when specified, should always get added to the link line.
Environment
arduino-cli.exe Version: 0.10.0 Commit: ec5c3ed
Win7e/mingw32
Additional context
I'm writing a bootloader library, and was trying to use the --section-start linker option.
While reviewing the code, I also noticed there is an undocumented precompiled=full option for library.properties.
Metadata
Metadata
Assignees
Labels
topic: build-processRelated to the sketch build processRelated to the sketch build processtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project