Skip to content

Commit 5a18a8f

Browse files
committed
Fix for lack of macro object in the linking options after 3.10.0 update
1 parent e041db8 commit 5a18a8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gccbasedassembler.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ QString GccBasedAssembler::getLinkerOptions()
4949
{
5050
QString options;
5151
if (isx86())
52-
options = "$PROGRAM.OBJ$ -g -o $PROGRAM$ -m32";
52+
options = "$PROGRAM.OBJ$ $MACRO.OBJ$ -g -o $PROGRAM$ -m32";
5353
else
54-
options = "$PROGRAM.OBJ$ -g -o $PROGRAM$ -m64";
54+
options = "$PROGRAM.OBJ$ $MACRO.OBJ$ -g -o $PROGRAM$ -m64";
5555
if (m_isPieEnabled)
5656
options += " -fno-pie -no-pie";
5757
return options;

0 commit comments

Comments
 (0)