mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Revert cflags hack.
This commit is contained in:
parent
4e2ba19d52
commit
c01c841cf9
@ -164,8 +164,8 @@ sub create_output($$)
|
||||
my $elem = $depend->{$_};
|
||||
next if $elem == $part;
|
||||
|
||||
push(@{$part->{FINAL_CFLAGS}}, "\$($elem->{NAME}_CPPFLAGS)");
|
||||
push(@{$part->{FINAL_CFLAGS}}, "\$($elem->{NAME}_CFLAGS)");
|
||||
merge_array(\$part->{FINAL_CFLAGS}, $elem->{CPPFLAGS});
|
||||
merge_array(\$part->{FINAL_CFLAGS}, $elem->{CFLAGS});
|
||||
}
|
||||
|
||||
# Always import the link options of the unique dependencies
|
||||
@ -173,8 +173,8 @@ sub create_output($$)
|
||||
my $elem = $depend->{$_};
|
||||
next if $elem == $part;
|
||||
|
||||
push(@{$part->{LINK_FLAGS}}, "\$($elem->{NAME}_LIBS)");
|
||||
push(@{$part->{LINK_FLAGS}}, "\$($elem->{NAME}_LDFLAGS");
|
||||
push(@{$part->{LINK_FLAGS}}, @{$elem->{LIBS}}) if defined($elem->{LIBS});
|
||||
push(@{$part->{LINK_FLAGS}}, @{$elem->{LDFLAGS}}) if defined($elem->{LDFLAGS});
|
||||
if (defined($elem->{OUTPUT_TYPE}) and @{$elem->{OUTPUT_TYPE}}[0] eq "MERGED_OBJ") {
|
||||
push (@{$part->{FULL_OBJ_LIST}}, $elem->{TARGET});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user