From patchwork Tue Jan 7 12:32:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mehmet Sami Tok X-Patchwork-Id: 1218760 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bkI7p4Fe"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47sWxX4c5Sz9sP6 for ; Tue, 7 Jan 2020 23:33:04 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DE5A78475A; Tue, 7 Jan 2020 12:33:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tteVJPiyGESV; Tue, 7 Jan 2020 12:33:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4A6868475D; Tue, 7 Jan 2020 12:33:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0FD4A1BF3DE for ; Tue, 7 Jan 2020 12:33:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0D0CD81F34 for ; Tue, 7 Jan 2020 12:33:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64HWoJ1mbva5 for ; Tue, 7 Jan 2020 12:33:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1E0AD81E85 for ; Tue, 7 Jan 2020 12:33:00 +0000 (UTC) Received: by mail-lj1-f193.google.com with SMTP id m26so52066982ljc.13 for ; Tue, 07 Jan 2020 04:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=6Kc6YP8Kf+EcACrZg+GMyEJwPUrcjZ1uP8SOCzcntC4=; b=bkI7p4FeY4vMDiXTzcK815Gpi8Q0OKUIhO24TWNGdBw82IMXFrPHCjSaZNE8OlhwIU ldWTGRUyTtzTGugpjtL+DeKwkpV6c7ZmNNJy5Onjy9tGf2T3YXhYLBYo2sDaipVAEIkJ 16KaoutofB9m/zfBnEITLogKnHw3zcWho3maSsmxf/4clpK0x3loqxNXbhm+CW6yZ4BX Wa+FiQqkNcE2UoU9dXpZ3CEYKDwaOENLd0UqCp6wklO1uugfwI2ZMLf6frY2zw/PnyBj aJTYTDRglYjeET1FvwF60icp2eKTuFtw00ctz1lY3AmvNbpklgpmkK0js1+IxcPdziia PvLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6Kc6YP8Kf+EcACrZg+GMyEJwPUrcjZ1uP8SOCzcntC4=; b=GFtDwG7MoBFYClBkv9s9YH8E04++q5WTqIwEaWSrND1vBObvN5vV61Bc0IMyF0o9D0 CxQHR5vwy6vY8HlSX4YFUVH9J/X1KUJGem80O1OYoMDZWWbQa7c70cfgf7UjtJRg97Q+ C8ufjJHwgyLRAH/oQinRtAF/IWnGJfWQpjtVOaIkrlcP4U90RjYrOY7RdlXNcFFImMv7 QvKKsvRpRNdst2mCA4uO6BB5isc8M7Hrv6QY2SeCP5oi+qH1LT1OksxZ7pSb2XDLV+wH lo1uUBbsCukK22JApX4zV2PH1DebpROnOjuHZK/L3MTyqRXf/IfpHNlhVBV2unlwgFqd G3XA== X-Gm-Message-State: APjAAAUt5IU9C5DwB7YFMEI80/zUp+3N0osBRzh6vEuk0oPyQZd+7i5/ W0XjQjNJvSpUGVobRjvvXXeUCHLX X-Google-Smtp-Source: APXvYqzstPqQgwSvKqYnIayVKobGkd4TDybm8bH/GC8KQePsqZY6MHjQML76ABDXjOljem5BLKg5ew== X-Received: by 2002:a2e:7a13:: with SMTP id v19mr50450236ljc.43.1578400378037; Tue, 07 Jan 2020 04:32:58 -0800 (PST) Received: from localhost.localdomain ([178.241.101.8]) by smtp.gmail.com with ESMTPSA id l7sm30198395lfc.80.2020.01.07.04.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 04:32:57 -0800 (PST) From: Mehmet Sami Tok To: buildroot@buildroot.org Date: Tue, 7 Jan 2020 15:32:08 +0300 Message-Id: <20200107123209.6608-1-mehmetsamitok@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH 0/1] remove optimize by default while using qmake X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mehmet Sami Tok , Peter Seiderer , Julien Corjon MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" When building qt projects with debug configuration on a host computer, applications build with optimization even if not configured to. Optimization flags in TARGET_CFLAGS are passed as default build arguments of qt build commands. If they are not overriden or removed manually from build arguments, any project build with optimization level of root file system by default. So I filtered optimization flags which are passed to "config.opt" first, then made into "mkspecs/qdevice.pri". Signed-off-by: Mehmet Sami TOK Mehmet Sami Tok (1): package/qt5: remove optimize by default on debug builds made with qmake package/qt5/qt5base/qt5base.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)