From e2425ba34d0ed408f229487172e73a290c84d26c Mon Sep 17 00:00:00 2001 From: Jatin Chaudhary Date: Fri, 26 Mar 2021 13:57:46 -0700 Subject: [PATCH] SWDEV-278810 - Remove default addition of CXX Flags if file type is not recognized Change-Id: I2b29f246d138b511d77f8e78f273795b4977313f --- bin/hipcc | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/hipcc b/bin/hipcc index 17a80755db..a74c79ec10 100755 --- a/bin/hipcc +++ b/bin/hipcc @@ -563,8 +563,6 @@ foreach $arg (@ARGV) $needCFLAGS = 1; } elsif ($hasCXX) { $needCXXFLAGS = 1; - } else { - $needCXXFLAGS = 1; } push (@inputs, $arg); #print "I: <$arg>\n";