Skip to content

Commit

Permalink
Merge pull request #28 from Mattiwatti/ignore-lnk-4281
Browse files Browse the repository at this point in the history
Silence LNK4281: "undesirable base address 0x0 for x64 image"
  • Loading branch information
ionescu007 authored Mar 22, 2019
2 parents 51e29a9 + ae32026 commit fc00c7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EDK-II/edk2.props
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<UACExecutionLevel />
<UACUIAccess />
<TypeLibraryResourceID />
<AdditionalOptions>/OPT:ICF=10 /IGNORE:4001 /IGNORE:4254 %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions>/OPT:ICF=10 /IGNORE:4001 /IGNORE:4254 /IGNORE:4281 %(AdditionalOptions)</AdditionalOptions>
<MergeSections>.rdata=.data</MergeSections>
<SpecifySectionAttributes>.pdata,D</SpecifySectionAttributes>
<LinkErrorReporting />
Expand Down
2 changes: 1 addition & 1 deletion samples/samples.props
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<UACExecutionLevel />
<UACUIAccess />
<TypeLibraryResourceID />
<AdditionalOptions>/OPT:ICF=10 /IGNORE:4001 /IGNORE:4254 %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions>/OPT:ICF=10 /IGNORE:4001 /IGNORE:4254 /IGNORE:4281 %(AdditionalOptions)</AdditionalOptions>
<MergeSections>.rdata=.data</MergeSections>
<SpecifySectionAttributes>.xdata,D</SpecifySectionAttributes>
<LinkErrorReporting />
Expand Down

0 comments on commit fc00c7d

Please sign in to comment.