87999cd890
bmake has recently started to support $^ in addition to $>, causing both to expand and leading to a build error like c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall \ -Werror -pedantic -o amdmsrt Info.o AmdMsrTweaker.o WinRing0.o \ Worker.oInfo.o AmdMsrTweaker.o WinRing0.o Worker.o c++: error: no such file or directory: 'Worker.oInfo.o' Fix the error by avoiding both $^ and $>. Approved by: portmgr (build fix blanket) MFH: 2026Q1
12 lines
366 B
Plaintext
12 lines
366 B
Plaintext
--- Makefile.orig 2026-02-22 11:55:23 UTC
|
|
+++ Makefile
|
|
@@ -4,7 +4,7 @@ amdmsrt: Info.o AmdMsrTweaker.o WinRing0.o Worker.o
|
|
all: amdmsrt
|
|
|
|
amdmsrt: Info.o AmdMsrTweaker.o WinRing0.o Worker.o
|
|
- $(CXX) $(CXXFLAGS) -o $@ $>$^
|
|
+ $(CXX) $(CXXFLAGS) -o $@ Info.o AmdMsrTweaker.o WinRing0.o Worker.o
|
|
# $>$^ is to be compatible against BSD and GNU make(1)
|
|
|
|
.cpp.o:
|