Fix target_env in avr-unknown-gnu-atmega328
The target name itself contains GNU, we should set that in the environment as well.
This commit is contained in:
parent
44722bd9ba
commit
033fdda46c
@ -19,6 +19,8 @@ pub(crate) fn target(target_cpu: &'static str, mmcu: &'static str) -> Target {
|
||||
llvm_target: "avr-unknown-unknown".into(),
|
||||
pointer_width: 16,
|
||||
options: TargetOptions {
|
||||
env: "gnu".into(),
|
||||
|
||||
c_int_width: "16".into(),
|
||||
cpu: target_cpu.into(),
|
||||
exe_suffix: ".elf".into(),
|
||||
|
Loading…
Reference in New Issue
Block a user